[Puppet Users] Re: run client against two different servers

2009-06-09 Thread Arnau Bria
Hi, I found that if i remove /var/lib/puppet/ssl/certs/* I can connect to a new server. I have to it by hand, but at least, it works . Cheers, Arnau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Puppet Users

[Puppet Users] Re: Puppetmasterd looses contact with the mysql database (using storeconfigs)

2009-06-09 Thread Juri Rischel Jensen
Hi everyone I've now tried to change database to postgresql, and unfortunately: I get the same result: Jun 9 12:03:13 puppet puppetmasterd[31869]: Could not store configs: PGError: server closed the connection unexpectedly#012#011This probably means the server terminated

[Puppet Users] puppet-server-0.24.8-1.el5.1 not writing logs

2009-06-09 Thread Arnau Bria
Hi all, I've just updated my server to puppet-server-0.24.8-1.el5.1 (from epel) and noticed that puppet-server stopped writing in its log: # tail -f /var/log/puppet/puppetmaster.log Tue Jun 09 12:28:48 +0200 2009 Puppet (notice): Shutting down Tue Jun 09 12:28:51 +0200 2009 Puppet (notice):

[Puppet Users] Re: puppet-server-0.24.8-1.el5.1 not writing logs

2009-06-09 Thread Avi Miller
Arnau Bria wrote: I've just updated my server to puppet-server-0.24.8-1.el5.1 (from epel) and noticed that puppet-server stopped writing in its log: It hasn't stopped writing it's logs, it's stopping working completely. Upgrade Facter to 1.5.5 and restart Puppet to resolve this issue. It's

[Puppet Users] Re: puppet-server-0.24.8-1.el5.1 not writing logs

2009-06-09 Thread Arnau Bria
On Tue, 09 Jun 2009 21:31:19 +1000 Avi Miller wrote: Arnau Bria wrote: I've just updated my server to puppet-server-0.24.8-1.el5.1 (from epel) and noticed that puppet-server stopped writing in its log: It hasn't stopped writing it's logs, it's stopping working completely. Well, my

[Puppet Users] problem with exec and environment variables

2009-06-09 Thread Peter Meier
Hi the following exec fails with the trace added: exec{create_gitosis_git: command = gitosis-init initial_admin_pubkey.puppet, cwd = /home/git, unless = test -d /home/git/repositories, user = git, path = /bin:/sbin:/usr/sbin:/usr/bin, } # puppet

[Puppet Users] puppet+augeas modprobe.conf

2009-06-09 Thread lance dillon
I need to be able to add: alias usb-storage off to /etc/modprobe.conf I have this so far: augeas { usb-storage: context = /files/etc/modprobe.conf, changes = [ set alias[last()+1] usb-storage, set alias[last()]/modulename off, ], onlyif = get alias

[Puppet Users] Re: puppet+augeas modprobe.conf

2009-06-09 Thread Bryan Kearney
lance dillon wrote: I need to be able to add: alias usb-storage off to /etc/modprobe.conf I have this so far: augeas { usb-storage: context = /files/etc/modprobe.conf, changes = [ set alias[last()+1] usb-storage, set alias[last()]/modulename off,

[Puppet Users] err: Connection timeout calling puppetmaster.getconfig: execution expired

2009-06-09 Thread Arnau Bria
Hi all, My current conf splits 188 clients execution in one hour, and puppet runs as a cron job. My server (2cpu 2 GB RAM) runs with mongrel (with 8 puppetmasterd) and this conf works fine. We'd like puppet to run clients all at same time (force a change, i.e.), so we're testing several

[Puppet Users] Re: puppet+augeas modprobe.conf

2009-06-09 Thread lance dillon
On Tue, Jun 9, 2009 at 11:16 AM, Bryan Kearney bkear...@redhat.com wrote: lance dillon wrote: I need to be able to add: alias usb-storage off to /etc/modprobe.conf I have this so far: augeas { usb-storage: context = /files/etc/modprobe.conf, changes = [ set

[Puppet Users] Re: puppet+augeas modprobe.conf

2009-06-09 Thread Bryan Kearney
lance dillon wrote: On Tue, Jun 9, 2009 at 11:16 AM, Bryan Kearney bkear...@redhat.com wrote: lance dillon wrote: I need to be able to add: alias usb-storage off to /etc/modprobe.conf I have this so far: augeas { usb-storage: context = /files/etc/modprobe.conf, changes =

[Puppet Users] Re: puppet+augeas modprobe.conf

2009-06-09 Thread lance dillon
On Tue, Jun 9, 2009 at 11:57 AM, Bryan Kearney bkear...@redhat.com wrote: lance dillon wrote: On Tue, Jun 9, 2009 at 11:16 AM, Bryan Kearney bkear...@redhat.com wrote: lance dillon wrote: I need to be able to add: alias usb-storage off to /etc/modprobe.conf I have this so

[Puppet Users] Re: puppet+augeas modprobe.conf

2009-06-09 Thread Bryan Kearney
lance dillon wrote: On Tue, Jun 9, 2009 at 11:57 AM, Bryan Kearney bkear...@redhat.com wrote: lance dillon wrote: On Tue, Jun 9, 2009 at 11:16 AM, Bryan Kearney bkear...@redhat.com wrote: lance dillon wrote: I need to be able to add: alias usb-storage off to /etc/modprobe.conf I

[Puppet Users] Re: puppet+augeas modprobe.conf

2009-06-09 Thread Bryan Kearney
Bryan Kearney wrote: thanks ok.. I think this is it in augtool: match /files/etc/modprobe.conf/*[.=foo] so.. in the plugin you can do 'match /files/etc/modprobe.conf/*[.=foo] size = 0' more specific matching: match /files/etc/modprobe.conf/alias[.=foo]

[Puppet Users] Re: puppet+augeas modprobe.conf

2009-06-09 Thread lance dillon
On Tue, Jun 9, 2009 at 1:09 PM, Bryan Kearney bkear...@redhat.com wrote: Bryan Kearney wrote: thanks ok.. I think this is it in augtool: match /files/etc/modprobe.conf/*[.=foo] so.. in the plugin you can do 'match /files/etc/modprobe.conf/*[.=foo] size = 0' more specific

[Puppet Users] Re: puppet+augeas modprobe.conf

2009-06-09 Thread Bryan Kearney
lance dillon wrote: On Tue, Jun 9, 2009 at 1:09 PM, Bryan Kearney bkear...@redhat.com wrote: Bryan Kearney wrote: thanks ok.. I think this is it in augtool: match /files/etc/modprobe.conf/*[.=foo] so.. in the plugin you can do 'match /files/etc/modprobe.conf/*[.=foo] size = 0' more

[Puppet Users] Autorequire throwind NoMethodError for gsub on Arrays

2009-06-09 Thread Greg
Hi guys, Has anyone seen this before: debug: //Node[default]/netbackup/File[/usr/openv/netbackup]: Autorequiring File[/usr/openv] err: Got an uncaught exception of type NoMethodError: private method `gsub' called for #Array:0x10a69e8 debug: Storing state debug: Stored state in 0.52 seconds

[Puppet Users] Re: how do I submit a patch?

2009-06-09 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dick Davies wrote: I've noticed that facter doesn't flag VirtualBox as a VM; where do I submit a patch? Dick See http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle If you're not a Git person then the best course is to log a ticket

[Puppet Users] Re: Autorequire throwind NoMethodError for gsub on Arrays

2009-06-09 Thread Greg
Answering my own question again... Problem was I put a search path for the response file into the package definition... Ie: package { foo: responsefile = [ /tmp/a, /tmp/b ] } What I should have done (and am now doing) is putting that into a file resource and controlling through that...

[Puppet Users] Puppet lunch at WWDC

2009-06-09 Thread Nigel Kersten
Tomorrow, Wed, at noon under the Elevator sign on the first floor by the cafeteria. There's a Server Engineering Lab thing at 1pm that we probably all want to go to. -- Nigel Kersten nig...@google.com System Administrator Google, Inc. --~--~-~--~~~---~--~~

[Puppet Users] Puppet Camp Oct 1-2 at SFSU

2009-06-09 Thread Andrew Shafer
The best combination of location, price and facilities appears to be San Francisco State University. The best date we came up with internally was Oct 1-2. We're in the process of locking in with the facility, and unless there is a massive uprising in protest, it's all going down Oct 1-2 at SFSU.