Re: [Puppet Users] Where to execute script to add server to Zabbix monitoring system?

2012-09-11 Thread Florian Koch
hi, do you use the zabbix agent? if you, the agent can autoregister itself so no custom script is needed regards flo Am 12.09.2012 um 01:28 schrieb JeremyCampbell : > I've written a script which adds a new server to our Zabbix monitoring system > using their api. This script contains the a

Re: [Puppet Users] PuppetDB Replication

2012-09-06 Thread Florian Koch
hi, hm why do you not using the postgresql replication? (wal sync with versions prior to 9 and streaming replication with 9+) regards flo Am 06.09.2012 um 20:03 schrieb tsuave : > I have puppetdb setup on our puppetmaster with a postgreSQL DB setup on two > servers db1 and db2. I am

Re: [Puppet Users] Custom Facts accessible via Facter

2012-08-15 Thread Florian Koch
Try Facter - p Regards Am 16.08.2012 um 07:43 schrieb Douglas Garstang : > I don't get it. I just wrote a simple test custom fact in ruby (ugh, I > hate ruby) and was able to access it as a variable on the client side. > However, it doesn't appear in the facter output. Is is supposed to? >

Re: [Puppet Users] Re: Installing hiera

2012-06-25 Thread Florian Koch
├── hiera_include.rb └── hiera.rb On Mon, Jun 25, 2012 at 5:34 PM, llow...@oreillyauto.com < llow...@oreillyauto.com> wrote: > > > On Monday, June 25, 2012 10:21:20 AM UTC-5, Florian Koch wrote: >> >> Hi, >> Have you the hiera Files in the puppet libdir e.g /v

Re: [Puppet Users] Re: Installing hiera

2012-06-25 Thread Florian Koch
Hi, Have you the hiera Files in the puppet libdir e.g /var/lib/puppet/lib ? Regards Am 25.06.2012 um 17:15 schrieb "llow...@oreillyauto.com" : > On a related note, I saw a post where someone had a similar problem, but they > fixed it by adding/creating some "missing default file" - but they

Re: [Puppet Users] exec's onlyif parameter fails for a bash one-liner

2012-04-25 Thread Florian Koch
Hi, you need to add provider => shell to your exec to get the subshell working regards Florian On Wed, Apr 25, 2012 at 6:01 PM, Shantanu wrote: > > I would like to 'exec' an installation script 'onlyif' an installation > directory is empty. I tried using following bash one-liner however it > d

[Puppet Users] Re: Augeas lens for zabbix agent config files?

2012-03-30 Thread Florian Koch
Hi Walter, any news with the zabbix_agentd lens? rgds Florian Am Sonntag, 22. Januar 2012 21:48:36 UTC+1 schrieb Walter Heck: > > Hi all, > > I'm trying to come up with a lens for the zabbix agent config files. I > find the lens language untransparent at best, so I'm struggeling to > figure out

[Puppet Users] Re: Augeas lens for zabbix agent config files?

2012-03-30 Thread Florian Koch
Am Sonntag, 22. Januar 2012 21:48:36 UTC+1 schrieb Walter Heck: > > Hi all, > > I'm trying to come up with a lens for the zabbix agent config files. I > find the lens language untransparent at best, so I'm struggeling to > figure out what's up. The debugging possibilities are extremely > limited.

[Puppet Users] puppetca trouble (The certificate retrieved from the master does not match the agent's private key)

2012-03-26 Thread Florian Koch
Hi @all, i have a foreman-proxy server, build from scratch, works fine and i can build unattended hosts. I don't want to configure all my foreman-proxys manually, so i build them in puppet, and only setup the OS (SL) and basic puppet config manually. I can run the puppet configuration sucsess

Re: [Puppet Users] Need advice how to architect solution for /etc/resolv.conf

2012-03-16 Thread Florian Koch
Hi, this sounds this is a job for hiera: http://puppetlabs.com/blog/the-problem-with-separating-data-from-puppet-code/ http://puppetlabs.com/blog/first-look-installing-and-using-hiera/ rgds Florian Am Freitag, 16. März 2012 19:12:10 UTC+1 schrieb chris_...@sra.com: > > > > On Friday, March 16, 2

Re: [Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-03-16 Thread Florian Koch
hi, yes better depends on personal preferences Am Freitag, 16. März 2012 17:27:41 UTC+1 schrieb Jan Ivar Beddari: > > On 15. mars 2012 22:06, Florian Koch wrote: > > Hi Dennis, > > > > i have found a better solution via create_resources (look at my reply to > > Ger

Re: [Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-03-16 Thread Florian Koch
plying back with the fix > > > > -Gary > > > > > > On Fri, Mar 16, 2012 at 7:58 AM, Florian Koch > > wrote: > >> > >> Hi Gary, > >> > >> hm for other classes it works , so i think the puppet backend is not > >> needed >

Re: [Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-03-15 Thread Florian Koch
Hi Dennis, i have found a better solution via create_resources (look at my reply to Gery) thanks anyway. rgds Florian Am Donnerstag, 15. März 2012 21:56:34 UTC+1 schrieb Dennis Hoppe: > > Hello Florian, > > Am 15.03.2012 20:47, schrieb Florian Koch: > > i have some trou

Re: [Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-03-15 Thread Florian Koch
gt; Hi Florian, > > I believe since $calling_module is a variable out of Puppet and not > Facter, that you will need to ALSO setup the Puppet backend, in addition to > the YAML backend, in the hiera.yaml file so Hiera can get its value. > > On Fri, Mar 16, 2012 at 6:47 AM, Flor

[Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-03-15 Thread Florian Koch
Hi, i have some trouble with hiera and %{calling_module}. i have: class tomcat::instance{ $instances = hiera('tomcat_instances') tomcat::installer{$instances:} } define tomcat::installer { require 'tomcat' $instance_opts = hiera($name) $tomcat_use

[Puppet Users] Re: Problems with Host <<||>>

2012-01-17 Thread Florian Koch
s, the second schould only get hosts for a specific domain , and on this host the service dnsmasq should be notifyed. rgds Florian On Jan 17, 3:07 pm, jcbollinger wrote: > On Jan 16, 4:16 am, Florian Koch > wrote: > > > > > > > > > > > Hi, > > > i

[Puppet Users] Problems with Host <<||>>

2012-01-16 Thread Florian Koch
Hi, i use exported hosts and Host <<| |>> to collect all hosts and ips for my hosts file. i like to use this to manage my dnsmasq installation, and use <<| tag == ${domain} |>> ~>Service['dnsmasq'] this works. on another Host i use only <<| |>> and get the error "Dependency dnsmasq not foun

[Puppet Users] Re: Stupid Exec

2012-01-05 Thread Florian Koch
Hi, i think you can solve your Problem by adding provider => shell, http://docs.puppetlabs.com/references/stable/type.html#exec rgds Florian koch On Jan 5, 4:54 pm, krish wrote: > On Thu, Jan 5, 2012 at 9:12 PM, ollies...@googlemail.com > > wrote: > > Hello, > > &

Re: [Puppet Users] Puppetserver error

2011-12-30 Thread Florian Koch
Hi, Maybe a Time related Problem? Check the Time on both, Client and Server Am 30.12.2011 um 18:55 schrieb Mohammad Khan : > I have done this already; however, client "certificate verify failed" is > occurring now where I am stuck. > > On Fri, Dec 30, 2011 at 12:51 PM, Aaron Grewell > wr

[Puppet Users] Re: puppet-foreman

2011-10-18 Thread Florian Koch
Hi, is selinux active ? If is active (run "sestatus") you need to disable ("setenforce 0" and edit /etc/sysconfig/selinux) or create a policy. rgds flo On Oct 18, 8:00 pm, Corey Osman wrote: > Hi, > > I created a centOS6 EC2 instance last night and ran the foreman puppet module > but it came

[Puppet Users] Re: facter-1.6.0 incorrectly identifies hardware node as virtual

2011-08-18 Thread Florian Koch
On Aug 17, 11:44 pm, Jake wrote: > I've installed facter-1.6.0 and puppet-2.7.3 on a number of SLES 10 > hardware nodes (HP DL580) running the Virtuozzo hosting software. > > Well, facter correctly identifies such a machine as a hardware node > ("virtual => openvzhn") but somehow concludes that th

[Puppet Users] Re: facter-1.6.0 incorrectly identifies hardware node as virtual

2011-08-18 Thread Florian Koch
On Aug 17, 11:44 pm, Jake wrote: > I've installed facter-1.6.0 and puppet-2.7.3 on a number of SLES 10 > hardware nodes (HP DL580) running the Virtuozzo hosting software. > > Well, facter correctly identifies such a machine as a hardware node > ("virtual => openvzhn") but somehow concludes that th