[Puppet Users] Re: init scripts for SLES 10 and RHEL 4

2009-10-18 Thread Todd Zullinger
Matt Delves wrote: > I'm looking for init scripts for SLES 10 and RHEL 4. Unfortunately > the init scripts that are currently provided with puppet don't seem > to work with either of the releases. Has anyone written any custom > scripts for these distributions? Can you be more specific about what

[Puppet Users] Can't create user on OS X

2009-10-18 Thread Tony Williams
Hi, I'm just starting to get a puppet config system running on OS X 10.6 and have hit a snag. I am attempting to create a user and get an error on the client :- (//User[ladmin]) Failed to retrieve current state of resource: undefined method '<<' for nil:NilClass The manifest I am using is the

[Puppet Users] Re: Is there a limit to the number of entires you can have for modulepath in puppet.conf?

2009-10-18 Thread Ohad Levy
This really doesn't sound like a common design, if you have the need for such a complex setup, I would recommend to create an environment, and link the relevant modules into that env directory. this has been proven to scale up with no issues. my 2 cents, Ohad On Sat, Oct 17, 2009 at 8:02 PM, Bil

[Puppet Users] Re: How to determine if there is a room for a copied file in puppet before copying?

2009-10-18 Thread Luke Kanies
On Oct 18, 2009, at 2:15 AM, Adam Ryczkowski wrote: > > Good afternoon all, > > How one can predict a problem with copying before puppet actualy > starts it? Copying is expensive, because I'm talking about many GB of > data. I suspect that it should be easy to know how much free space and

[Puppet Users] Re: How to handle failures of resources

2009-10-18 Thread Luke Kanies
On Oct 18, 2009, at 2:15 AM, Adam Ryczkowski wrote: > > Welcome all, > > Resources can depend one from each other, and failure of a required > resource prevent the dependants from being run. > > But how to trap these failures and handle them? Is there any way to > e.g. set a variable $

[Puppet Users] Re: trouble with custom type on 0.24.8

2009-10-18 Thread Luke Kanies
On Oct 16, 2009, at 3:07 AM, Bernhard Bock wrote: > > Hi, > >>> I'm having trouble getting a simple custom type to work. >>> >>> Clients are giving me the following error: >>> "Could not retrieve catalog: Could not find resource type >>> zypper_repo >>> at /etc/puppet/manifests/nodes/mgt.pp:33

[Puppet Users] Re: Service bug?

2009-10-18 Thread Luke Kanies
On Oct 15, 2009, at 3:10 PM, Dan Bode wrote: > there is also a param for service called "pattern" that allows you > to specify the regex that should be used to determine the process > (in case one of them doesnt properly implement status) This is almost certainly the issue - Puppet just look

[Puppet Users] Re: req on a file distributed under recursive dir

2009-10-18 Thread Luke Kanies
On Oct 15, 2009, at 6:51 AM, Arnau Bria wrote: > > Hi all, > > I'm not sure if next conf is going to work: > > I'd like to distribute a dir in recurse way, but then add a req on a > certain file that is under that reurse dir. > > Example: > > file { "/opt/localconf": >

[Puppet Users] Re: CA Not Found

2009-10-18 Thread Luke Kanies
On Oct 15, 2009, at 1:04 AM, Brice Figureau wrote: > > On Wed, 2009-10-14 at 15:19 -0700, Douglas Garstang wrote: >> Can someone tell me what this means? I am getting this in >> /var/log/puppet/masterhttp.log on the server. >> >> [2009-10-14 15:07:35] DEBUG accept: 10.10.1.23:33626 >> [2009-10-14

[Puppet Users] Re: template scope.compiler.classlist.include problems/flapping

2009-10-18 Thread Luke Kanies
On Oct 14, 2009, at 11:43 AM, Jason Antman wrote: > > Good Afternoon, all, > > I believe I posted something on this in the past, but didn't get many > replies. > > I'm trying to manage some slightly different configs for different > classes of hosts within templates using > scope.compiler.classli

[Puppet Users] init scripts for SLES 10 and RHEL 4

2009-10-18 Thread Matt Delves
Hey folks, I'm looking for init scripts for SLES 10 and RHEL 4. Unfortunately the init scripts that are currently provided with puppet don't seem to work with either of the releases. Has anyone written any custom scripts for these distributions? Thanks, Matt Delves --~--~-~--~~---

[Puppet Users] Re: Is there a limit to the number of entires you can have for modulepath in puppet.conf?

2009-10-18 Thread Andrew Shafer
> > I am in the design and testing phase working on various configurations > and options. > > I generate my configuration files programmatically once a day based on > queries to an asset management database to organize servers a specific way. > There was discussion of a design option that would hav

[Puppet Users] Re: Is there a limit to the number of entires you can have for modulepath in puppet.conf?

2009-10-18 Thread James Turnbull
2009/10/17 Billy Shaw : > I am in the design and testing phase working on various configurations > and options. > > I generate my configuration files programmatically once a day based on > queries to an asset management database to organize servers a specific way. > There was discussion of a desig

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-18 Thread Stephen Nelson-Smith
Hi, > If anyone feels up to grabbing this document and running with it, > please feel free. Not sure if I accidentally half replied to this already I'd be very happy to pick this up. I'm just starting a new project - bring some best practices to a somewhat chaotic and messy large governmen

[Puppet Users] How to handle failures of resources

2009-10-18 Thread Adam Ryczkowski
Welcome all, Resources can depend one from each other, and failure of a required resource prevent the dependants from being run. But how to trap these failures and handle them? Is there any way to e.g. set a variable $error_happened to "true" if some promise about the resource

[Puppet Users] How to determine if there is a room for a copied file in puppet before copying?

2009-10-18 Thread Adam Ryczkowski
Good afternoon all, How one can predict a problem with copying before puppet actualy starts it? Copying is expensive, because I'm talking about many GB of data. I suspect that it should be easy to know how much free space and how many free nodes are available on the target device. I realiz