Re: [Puppet Users] mcollective for rhel 4

2011-01-22 Thread R.I.Pienaar
hey, - Original Message - Is their a mcollective rpm for rhel4? If not, is their a src rpm for 1.0 I can compile for rhel4? I looked around the web site and could not find anything. There are src rpms on the puppet labs download and the spec is in the tarball and in git. There's a

[Puppet Users] Re: Multiple Case statements

2011-01-22 Thread donavan
On Jan 21, 1:55 pm, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 01/21/2011 07:31 PM, Jockster wrote: I am writing my first module for ntp, I have a few different versions of Linux and also releases. The code worked when I only had one flavor of Linux but now I have four and

[Puppet Users] Re: Testing custom types

2011-01-22 Thread donavan
On Jan 21, 1:17 pm, Matthew Macdonald-Wallace li...@truthisfreedom.org.uk wrote: Is there a way to test custom types/providers without deploying them to a node? I'm thinking of something along the lines of puppet --parseonly or similar. How do others test what they've written, or do you

[Puppet Users] Re: help writing types/provider

2011-01-22 Thread donavan
On Jan 21, 11:13 am, Dick Davies rasput...@hellooperator.net wrote: ensurable do    defaultto 'present' end I've always specified the methods: ensurable do newvalue(:present) do provider.create end newvalue(:absent) do provider.destroy

Re: [Puppet Users] mcollective for rhel 4

2011-01-22 Thread Ohad Levy
On Sat, Jan 22, 2011 at 12:59 PM, R.I.Pienaar r...@devco.net wrote: hey, - Original Message - Is their a mcollective rpm for rhel4? If not, is their a src rpm for 1.0 I can compile for rhel4? I looked around the web site and could not find anything. There are src rpms on the

[Puppet Users] high 500 error rate on file metadata operations

2011-01-22 Thread Jason Wright
Howdy, Lately our puppetmasters have been returning 500 errors at a reasonably high rate. On any given day, 200-300 (out of many thousands) of our clients are reporting that they've received a 500 during a run. So far, the only firm reports I've received have been regarding our Ubuntu clients,

[Puppet Users] node default in puppet 2.6?

2011-01-22 Thread Peter Berghold
When I was using an earlier version of puppet, in my site.pp I used to include a file called nodes.pp which only contained one entry, and that was node default { base options go here.. } Does that still work in 2.6? -- Peter L. Berghold Owner, Shark River Technical

[Puppet Users] another 2.6 question... stages

2011-01-22 Thread Peter Berghold
Also in 2.6 I have started using stages in my setups In my site.pp file I have something that looks like this: stage { preamble: before = Stage[main] } stage { postamble: require = Stage[main] } class { foo : stage = preamble ; bar: stage = postable; } Is it safe to assume

Re: [Puppet Users] node default in puppet 2.6?

2011-01-22 Thread Stefan Schulte
On Sat, Jan 22, 2011 at 12:21:47PM -0500, Peter Berghold wrote: When I was using an earlier version of puppet, in my site.pp I used to include a file called nodes.pp which only contained one entry, and that was node default { base options go here.. } Does that still

Re: [Puppet Users] What the??? Failing dependancies and not sure why...

2011-01-22 Thread Umair Ghani
Try using require user { nagios : comment = Nagios Host Monitoring Service, shell = /bin/bash, home = /home/nagios, ensure = present } file { nagios-homedir : require = User['nagios], path = /home/nagios, owner = nagios,