[Puppet Users] Re: generate problem command runs on server not client

2009-04-23 Thread Evan Hisey
On Thu, Apr 23, 2009 at 1:27 PM, andyr...@gmail.com wrote: > > How can I get generate to run the command on the client, not the > server. > > I have the following > > class exports { >        $dirs = generate("/bin/sh","-c","/bin/mount -t ext3,xfs") >        file { "exports.test": >          

[Puppet Users] Re: Puppet on busybox, Bob Hope or No Hope?

2009-04-23 Thread Ohad Levy
I have a couple of hundreds of EL3, working with no issues. I've done the same with EL4 srpm, and I'm seriously considering using eh RH5 ruby (to avoid all of the ugly ruby warnings) and backport if also for RHEL3 and RHEL4. so basically, you need to get ruby up and running, than facter and everyt

[Puppet Users] Re: Puppet on busybox, Bob Hope or No Hope?

2009-04-23 Thread Matthew Hyclak
On Thu, Apr 23, 2009 at 11:51 AM, paul matthews wrote: > When I say busybox it's actually VMware ESX server which seems to use > busybox (which I guess is the case a number of other software appliances) . > Reason for wanting to install puppet is to run the cli tools to create > nightly vmware sn

[Puppet Users] generate problem command runs on server not client

2009-04-23 Thread andyr7777...@gmail.com
How can I get generate to run the command on the client, not the server. I have the following class exports { $dirs = generate("/bin/sh","-c","/bin/mount -t ext3,xfs") file { "exports.test": name => "/etc/exports.test", content => template("exports

[Puppet Users] Re: Syntax checking hook when using git?

2009-04-23 Thread Jean-Baptiste Quenot
2009/4/23 Mark Plaksin : > > We want to switch our Puppet config repository from SVN to Git.  Our SVN > repository has a pre-commit hook that does a syntax check.  If the check > fails, the commit fails.  With SVN that hook runs on the server so it's > easy to have (the correct version of) the pup

[Puppet Users] Re: Syntax checking hook when using git?

2009-04-23 Thread Eric Gerlach
Also, since branching in git is so cheap, you can have the checkins go to a branch, and then check the syntax there. If they pass, then move them to production. Don't know if Hudson supports this, but it's what I'm in the process of doing right now. Cheers, Eric On Thu, Apr 23, 2009 at 12:01:

[Puppet Users] Puppet on busybox, Bob Hope or No Hope?

2009-04-23 Thread paul matthews
When I say busybox it's actually VMware ESX server which seems to use busybox (which I guess is the case a number of other software appliances) . Reason for wanting to install puppet is to run the cli tools to create nightly vmware snapshots. I'm happy to give it a go (and add the docs to the wiki)

[Puppet Users] Re: iptables anyone?

2009-04-23 Thread Matt
2009/4/22 Marc Fournier : > > >> About to start looking at managing iptables on our CentOS 5.2 systems, >> anyone know if a type/solution already exists for this? > > Have a look at http://github.com/camptocamp/puppet-iptables/tree/master > It's work in progress (and currently stalled). It works f

[Puppet Users] Re: Should we really expect puppetd to die randomly? (Was: Puppet watching puppet)

2009-04-23 Thread Jean-Baptiste Quenot
2009/4/22 Jean-Baptiste Quenot : > 2009/4/21 Luke Kanies : > >> And, for the record, I think this got a lot better in 0.24.8 (or maybe >> 0.24.7?).  We found a few cases where errors could propagate far >> enough to kill the client, and I think we've eradicated nearly all of >> them. > > I'll try

[Puppet Users] Re: Syntax checking hook when using git?

2009-04-23 Thread Julian Simpson
A Continuous Integration server like Hudson will allow you to poll the GIT repo and make loud noises if the syntax check fails. J. 2009/4/23 Mark Plaksin : > > Hi: > > We want to switch our Puppet config repository from SVN to Git.  Our SVN > repository has a pre-commit hook that does a syntax c

[Puppet Users] Re: copying files back to puppet master?

2009-04-23 Thread Simon J Mudd
Hi Luke, l...@madstop.com (Luke Kanies) writes: > > ... > > > >> I think you should have a look to the filebucket[1]. It might not be > >> exactly what you are asking for, but it might still help you. > > > > No, not really but thanks for the pointer. As I said my idea would be > > to use this t

[Puppet Users] Re: iptables anyone?

2009-04-23 Thread chakkerz
Interesting ... I'll have to look at that recipe a little more indepth... I'm about to go live with my overall puppet solution, what i did was just a simple module which pushes out the iptables configuration and restarts the daemon. It simply looks for a file that ends in the $fqdn, and if that i