Re: [Puppet Users] problems after puppet upgrade

2010-06-01 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 we´ve upgraded puppet from 0.24.8 to 0.25.5 last week, since then we ´re experiencing load/memory (and then swapping) problems. Our setup is based on nginx (0.8.20, four worker processes) balancing to five puppetmaster instances (servertype

[Puppet Users] Arbitrary barriers to bug reporting

2010-06-01 Thread Alan Barrett
On Thu, 27 May 2010, Nigel Kersten wrote: It's not a random barrier though. I agree it should be easier, and I believe there's a bug in about making sure OpenID works, but I stand by my point that it's bloody difficult to track bugs reported anonymously. I didn't see anybody ask for the

Re: [Puppet Users] Build nginx conf dynamically (depending on the upstream machines)

2010-06-01 Thread Nicolas Szalay
Le mercredi 26 mai 2010 à 05:03 -0700, Gonçalo a écrit : Hello Gonçalo Hi there, im trying to set up puppet to manage a nginx server with load balancing. To achieve this i need to add every machine ip to the upstream conf of nginx. Doing this manually is easy, and all works fine, the

[Puppet Users] Re: problems after puppet upgrade

2010-06-01 Thread Stefan Wiederoder
I´ve disabled pluginsync on my client, which eliminated the first error message. Now I´m still having problems while using modules: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class hostsfile at /etc/puppet/manifests/ site.pp:10 on node xyz.example.com

Re: [Puppet Users] accessing client certname in manifests?

2010-06-01 Thread Nigel Kersten
On Mon, May 31, 2010 at 9:17 PM, James Turnbull ja...@puppetlabs.comwrote: John Warburton wrote: This is nice. Can we go the whole hog and provide all configuration options as facts? Could have a unique name space of something like CONF_variable -- CONF_certname I though I logged a

[Puppet Users] Re: Same certificate on multiple identical machines ?

2010-06-01 Thread Michael Dodwell
You say when a image is shutdown it reverts back to it's original state, but does that image/machine ever get reused? My point being if your going to reuse machines keeping individual certificates could be useful. To enable this you could just nfs mount a share that new certificates could be

Re: [Puppet Users] temporarily editing sudoers

2010-06-01 Thread Rob McBroom
On May 7, 2010, at 9:45 AM, Pieter Baele wrote: We use a script to edit /etc/sudoers temporarily to provide sudo access to clients for a limited time. A cron job checks for a var and after a defined time the line is deleted. But this way, /etc/sudoers can't be managed by Puppet, because It

Re: [Puppet Users] temporarily editing sudoers

2010-06-01 Thread Rob McBroom
On Jun 1, 2010, at 11:47 AM, Rob McBroom wrote: I use Augeas for `sudoers`. This allows you to manage individual entries, instead of replacing the entire file. For instance, this will add an entry for a user named “joe” unless that entry already exists. augeas { sudojoe: context

Re: [Puppet Users] temporarily editing sudoers

2010-06-01 Thread James Cammarata
On Jun 1, 2010, at 11:47 AM, Rob McBroom wrote: I use Augeas for `sudoers`. This allows you to manage individual entries, instead of replacing the entire file. For instance, this will add an entry for a user named “joe” unless that entry already exists. augeas { sudojoe: context

Re: [Puppet Users] Re: Toplevel domain and facter (Offtopic)

2010-06-01 Thread David Schmitt
Am 27.05.2010 20:17, schrieb Nigel Kersten: I believe there's a bug in about making sure OpenID works OpenID works for me[tm]. Best Regards, David -- dasz.at OG Tel: +43 (0)664 2602670 Web: http://dasz.at Klosterneuburg UID:

[Puppet Users] Is sshkey host_aliases new in 0.25?

2010-06-01 Thread Douglas Garstang
Is the host_aliases parameter to sshkey new in 0.25? Jun 1 15:28:48 s_...@ext3.fr.xxx.com puppetd[20358]: Could not retrieve catalog: Invalid parameter 'host_aliases' for type 'Sshkey' at /etc/puppet/manifests/nodes/fr.twofish.com/ext3.pp:19 on node ext3.fr.xxx.com Jun 1 15:28:48

[Puppet Users] do X if package Y is installed?

2010-06-01 Thread Bill Weiss
All, Sorry if this is a FAQ that I’ve missed. A pointer to TFM would be appreciated if so. I’m looking for a conditional include of sorts. In module X, I’d like to frob a file if the httpd package is installed. If it’s not, I want to just skip it. Is there a simple way to do this?

Re: [Puppet Users] do X if package Y is installed?

2010-06-01 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Your best bet is to write a custom fact that returns the status of httpd installation. There is a good tutorial on writing custom facts in the docs. Trevor On 06/01/2010 05:31 PM, Bill Weiss wrote: All, Sorry if this is a FAQ that I?ve missed.

Re: [Puppet Users] Is sshkey host_aliases new in 0.25?

2010-06-01 Thread James Turnbull
Douglas Garstang wrote: Is the host_aliases parameter to sshkey new in 0.25? Jun 1 15:28:48 s_...@ext3.fr.xxx.com puppetd[20358]: Could not retrieve catalog: Invalid parameter 'host_aliases' for type 'Sshkey' at /etc/puppet/manifests/nodes/fr.twofish.com/ext3.pp:19 on node ext3.fr.xxx.com

Re: [Puppet Users] Re: Same certificate on multiple identical machines ?

2010-06-01 Thread Patrick
On Jun 1, 2010, at 5:37 PM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How sensitive is the information you're pushing out? If it's not sensitive, I would list all valid hosts in autosign.conf and blow the certs away with a hourly cron job on the server. It

Re: [Puppet Users] Nagios checks

2010-06-01 Thread Todd Zullinger
Peter Berghold wrote: Has anybody out there written a custom check for Nagios to determine if puppetd and/or puppetmasterd is running? I am considering writing one if not. FWIW, I've got an overengineered check_puppet and puppetstatus tool at: http://tmz.fedorapeople.org/scripts/puppetstatus/

Re: [Puppet Users] Is sshkey host_aliases new in 0.25?

2010-06-01 Thread Douglas Garstang
On Tue, Jun 1, 2010 at 6:11 PM, James Turnbull ja...@puppetlabs.com wrote: Douglas Garstang wrote: Is the host_aliases parameter to sshkey new in 0.25? Jun  1 15:28:48 s_...@ext3.fr.xxx.com puppetd[20358]: Could not retrieve catalog: Invalid parameter 'host_aliases' for type 'Sshkey' at