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 jeremycampbel...@gmail.com: I've written a script which adds a new server to our Zabbix monitoring system using their api.

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 trikosu...@gmail.com: I have puppetdb setup on our puppetmaster with a postgreSQL DB setup on two servers

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 doug.garst...@gmail.com: 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.

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 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

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 /var/lib/puppet/lib ? No, I do

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 knowshant...@gmail.com wrote: I would like to 'exec' an installation script 'onlyif' an installation directory is empty. I tried using following bash

[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] 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

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

2012-03-16 Thread Florian Koch
at 7:58 AM, Florian Koch florian.koch1...@googlemail.com wrote: Hi Gary, hm for other classes it works , so i think the puppet backend is not needed ( https://github.com/ripienaar/hiera-puppet/commit/a7350529a99e5d1bad8b03749661f3f4c7f00216 ), the problem is the define, i guess

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 Gery) Not neccessarily better in my mind

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, 2012

[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)

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

2012-03-15 Thread Florian Koch
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, Florian Koch florian.koch1...@googlemail.com wrote: Hi, i have some trouble with hiera and %{calling_module}. i have: class tomcat::instance

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 trouble with hiera

[Puppet Users] Re: Problems with Host ||

2012-01-17 Thread Florian Koch
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 john.bollin...@stjude.org wrote: On Jan 16, 4:16 am, Florian Koch florian.koch1...@googlemail.com wrote: Hi, i use exported hosts

[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 found on host ...

[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 das.srikris...@gmail.com wrote: On Thu, Jan 5, 2012 at 9:12 PM, ollies...@googlemail.com paul.seym...@barcap.com wrote

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 makhan...@gmail.com: 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

[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 co...@logicminds.biz wrote: Hi, I created a centOS6 EC2 instance last night and ran the foreman puppet module

[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 j...@mainphrame.com 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

[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 j...@mainphrame.com 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