[Puppet Users] Re: best practices stand-alone puppet

2009-03-10 Thread thomas
Thanks! Here it goes: - there are between 30 and 40 Apache instances (on 20-30 physical servers) that I need to supply with htppd.conf, mod_security.conf and the keys. - all instances are running in pairs for fail-over some are used just as ssl endpoints, some as reverse proxies, some host custom

[Puppet Users] Re: best practices stand-alone puppet

2009-03-10 Thread Andrew Shafer
It depends on what you are trying to do exactly, but you can run 'puppet' stand alone without the master. The only thing that gets tricky is if you have interhost configurations that you want to manage. You can also use the master as a file server for the stand alone puppet executable. If you ca

[Puppet Users] Re: best practices stand-alone puppet

2009-03-10 Thread Stephen John Smoogen
On Tue, Mar 10, 2009 at 1:28 PM, thomas wrote: > > Hello, > > I was evaluating the use of the puppet with the single purpose to > generate a handful of httpd.conf files for several apache instances. > Unfortunately my deployment environment is very restrictive and I can > not use puppetd on the t

[Puppet Users] best practices stand-alone puppet

2009-03-10 Thread thomas
Hello, I was evaluating the use of the puppet with the single purpose to generate a handful of httpd.conf files for several apache instances. Unfortunately my deployment environment is very restrictive and I can not use puppetd on the target hosts - I wanted however take advantage of puppet DSL t

[Puppet Users] Making envvars visible to Facter

2009-03-10 Thread Avi Miller
Hey gang, I'm having an issue on EL5 making FACTER_ style environment variables visible to Facter when called by the Puppet daemon. My first attempt was to create /etc/profile.d/facter.[c]sh scripts that set the correct variables. This worked fine when Facter was called on the command line (a

[Puppet Users] Re: module dependencies

2009-03-10 Thread Bruce Richardson
On Tue, Mar 10, 2009 at 01:39:36PM +0100, Thomas Bellman wrote: > > Keith Edmunds wrote: > > > Is it possible to make a module a dependency? > > > > We have a "base" module that contains packages, configurations, etc, that > > should be processed before other modules, and I'm looking for a way

[Puppet Users] Re: module dependencies

2009-03-10 Thread Thomas Bellman
Keith Edmunds wrote: > Is it possible to make a module a dependency? > > We have a "base" module that contains packages, configurations, etc, that > should be processed before other modules, and I'm looking for a way of > enforcing a dependency on everything in the base module without having to

[Puppet Users] Re: module dependencies

2009-03-10 Thread Larry Ludwig
Is this what you are looking for? class foo { ... } class bar { package { "test": require => Class["foo"], } } On Mar 10, 2009, at 8:25 AM, Keith Edmunds wrote: > > Is it possible to make a module a dependency? > --~--~-~--~~~---~--~~ You received

[Puppet Users] module dependencies

2009-03-10 Thread Keith Edmunds
Is it possible to make a module a dependency? We have a "base" module that contains packages, configurations, etc, that should be processed before other modules, and I'm looking for a way of enforcing a dependency on everything in the base module without having to explicitly list each package, et

[Puppet Users] Re: Trying to get a list of all modules + defines + variable + defaults.

2009-03-10 Thread Trevor Vaughan
To answer everyone all at once, I am hoping to make this a tool for generating manifests and I'll take both approaches to see what works best. I'll also keep this on -users since it's a spare time project as opposed to something that anyone should pay a great deal of attention to at this point.

[Puppet Users] Re: Experiences with RHN Satellite?

2009-03-10 Thread Tom Brown
> Did a POC of it at my current company. I've also had the RedHat > Enterprise Deployment and Virtualization class. > > This product was originally envisioned began development before RedHat > even had an IPO. The reason I mention this is that the mindset around > systems management at that tim

[Puppet Users] FreeBSD Facter-1.5.4 reporting error after fresh install

2009-03-10 Thread Ivo van der Meer
Hi, I've installed latest stable version of facter and puppet, but when I start puppetd and connect to the puppetmaster server I get the following error: /usr/local/lib/ruby/gems/1.8/gems/facter-1.5.4/lib/facter/util/loader.rb:72: command not found: After this error all seem to work well, but w

[Puppet Users] Re: SOLVED Re: Bizzare yum problem

2009-03-10 Thread Thomas Bellman
Marti wrote: > anything trying to traverse the mount point (which rpm apparently > does...!?) Rpm does a statvfs() call on all mount points, to check how much free space there is in the file systems. It then compares that with how much space the package being installed requires in different pla

[Puppet Users] Re: Trying to get a list of all modules + defines + variable + defaults.

2009-03-10 Thread Luke Kanies
On Mar 9, 2009, at 9:56 PM, Trevor Vaughan wrote: > This is sort of on topic for users, but I'm more than happy to move it > to 'dev' if appropriate. > > What I'm trying to do is to create a basic GUI that allows me to > detect: > > 1) What modules are installed on the system > 2) What classes

[Puppet Users] Re: undefined method `controllable?'

2009-03-10 Thread Luke Kanies
On Mar 9, 2009, at 11:27 AM, Eric Gerlach wrote: > > On Fri, Mar 06, 2009 at 04:07:24PM -0800, Pete Emerson wrote: >> I resolved this problem. I discovered that there was a key >> mismatch. I'm >> loving puppet, but the error messages are completely frustrating. >> >> Pete > > If you're finding

[Puppet Users] Re: schedule and getconfig

2009-03-10 Thread Luke Kanies
On Mar 7, 2009, at 5:28 AM, Miguel Armas wrote: > > Hi all! > I've been taking a look at the schedule definition, but I haven't > found any option to re-schedule the getconfig process... > I have a lot of servers and I want to be able to check some processes, > file permissions, etc every 5/10 mi

[Puppet Users] Re: custom facts not working

2009-03-10 Thread Nicolas Szalay
Le mardi 10 mars 2009 à 09:50 +1300, Steve Wray a écrit : > Hi there, > > I'm trying to use a fact to tell whether the machine is virtualised. > > I found this and, in testing, its been ok: > http://reductivelabs.com/trac/puppet/wiki/Recipes/VirtualMachine > > However, trying to roll this new fa

[Puppet Users] Re: undefined method `controllable?' when manipulating sshd

2009-03-10 Thread Luke Kanies
On Mar 6, 2009, at 5:44 PM, Pete Emerson wrote: > Apologies if this winds up in the group twice, I'm not positive I > submitted this the first time around. > > I installed puppet on an existing client and am getting this when > running puppetd --test: > > err: Could not create sshd: undefined