Re: [Puppet Users] Re: continues puppet run in production

2009-12-30 Thread james
2009/12/30 berber : I'm starting to wonder, put bluntly so don’t get mad, if “Lazy” system admins run puppet continuously in production, while putting their systems in harm way due to a possible bug in puppet, corruption of the source, accidental changes to the manifest, etc… just so they don’t h

Re: [Puppet Users] Re: continues puppet run in production

2009-12-30 Thread Julian Simpson
> Is this the case or am I missing out on the big picture? Since when > does “being productive” come before production integrity? I've seen "production integrity" used as an excuse for not delivering new services, costing the business $$$. There has to be a balance... -- You received this messa

Re: [Puppet Users] Re: continues puppet run in production

2009-12-30 Thread Scott Smith
berber wrote: > This doesn't sound very professional. You would risk your production > environment because it's uncomfortable for the sys admin to remember > he needs to roll back a change in 10 minutes or 10 hours? > > Assume we are talking about a business that looses tens of thousands > of $$$

Re: [Puppet Users] Re: continues puppet run in production

2009-12-30 Thread Silviu Paragina
Bugs happen in any service. This is the classical dilemma of plugging out your computer from the network vs connectivity (usability in this case). From my perspective high security risk bugs happen rarely enough to use both puppet and any other service I use. IMHO misconfiguration has a bigger

Re: [Puppet Users] Re: continues puppet run in production

2009-12-30 Thread Julian Simpson
> I'm not mad, I take pride in my laziness, I'm more efficient that way. On Laziness: Wall along with Randal L. Schwartz and Tom Christiansen writing in the second edition of Programming Perl, outlined the Three Virtues of a Programmer: Laziness - The quality that makes you go to great effort to

Re: [Puppet Users] Re: SSL_connect SYSCALL returned=5

2009-12-30 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I'm not really sure if the local puppet connection is encrypted or not > (ie puppetd<->puppetmaster on the server). the only unencrypted connection of puppet is during the cert exchange, everything else is encrypted. cheers pete -BEGIN PGP SIG

[Puppet Users] beginner good practice question

2009-12-30 Thread deet
Hello. I'm a about 2 months into a puppet poc. I've got the low hanging fruit taken care of and have the standard manifests which apply to every host of a given operating system. Basically just schlepping lot's of standard files out to every host of a given OS type. No real decision making or

[Puppet Users] Re: Package type log messages

2009-12-30 Thread Jamie
Hi Dan Thanks for the pointer to the bug. I actually used purge in my manifest because when I tried absent I would get errors about not being able to remove a package because it was needed by something else. On Dec 29, 10:04 pm, Dan Bode wrote: > Hi Jamie, > > > > On Tue, Dec 29, 2009 at 10:32

Re: [Puppet Users] Re: Package type log messages

2009-12-30 Thread Dan Bode
Hi, On Wed, Dec 30, 2009 at 6:54 PM, Jamie wrote: > Hi Dan > > Thanks for the pointer to the bug. I actually used purge in my > manifest because when I tried absent I would get errors about not > being able to remove a package because it was needed by something > else. > > yeah, absent does an

[Puppet Users] Re: beginner good practice question

2009-12-30 Thread deet
Anyhoo just looking for any possible gotchas I > haven't taken into consideration. > Obviously I hadn't taken into consideration on how I could support multiple zpools on one host. Just figured this out as I went to add a second zpool to the node headbone. So am I wanting to use definition

[Puppet Users] Re: how to specify source parameter for gem packages

2009-12-30 Thread byron appelt
Answering my own question here. As it turns out, the source parameter does work as I was expecting it to, but only in puppet versions 0.24.5 and greater. I was trying with 0.24.4. On Dec 24, 1:00 pm, byron appelt wrote: > I am trying to use the package class to manage agemand I need to > specify

[Puppet Users] yet another class dependency question.

2009-12-30 Thread Sukh Khehra
Hi, I am running puppet version 0.25.1 on both the server and client and am getting the following error on a puppet run: err: Could not apply complete catalog: Could not retrieve dependency 'Class[http]' of Class[puppet::http] Class http is defined in the "http" module like so: class http {

Re: [Puppet Users] yet another class dependency question.

2009-12-30 Thread Dan Bode
Hi, On Wed, Dec 30, 2009 at 9:52 PM, Sukh Khehra wrote: > Hi, > > I am running puppet version 0.25.1 on both the server and client and am > getting the following error on a puppet run: > > err: Could not apply complete catalog: Could not retrieve dependency > 'Class[http]' of Class[puppet::http]

RE: [Puppet Users] yet another class dependency question.

2009-12-30 Thread Sukh Khehra
Thanks Dan. Unfortunately, this did not work for me. err: Could not apply complete catalog: Could not retrieve dependency 'Class[::http]' of Class[puppet::http] Does anyone know of another way to fully qualify the class name when requiring it? I was hoping to not have to change the names of

Re: [Puppet Users] yet another class dependency question.

2009-12-30 Thread Dan Bode
On Wed, Dec 30, 2009 at 10:45 PM, Sukh Khehra wrote: > Thanks Dan. Unfortunately, this did not work for me. > > > > err: Could not apply complete catalog: Could not retrieve dependency > 'Class[::http]' of Class[puppet::http] > > > > Does anyone know of another way to fully qualify the class name

Re: [Puppet Users] yet another class dependency question.

2009-12-30 Thread Dan Bode
I opened http://projects.reductivelabs.com/issues/2998 for this issue On Wed, Dec 30, 2009 at 10:59 PM, Dan Bode wrote: > > > On Wed, Dec 30, 2009 at 10:45 PM, Sukh Khehra wrote: > >> Thanks Dan. Unfortunately, this did not work for me. >> >> >> >> err: Could not apply complete catalog: Could n

[Puppet Users] Re: beginner good practice question

2009-12-30 Thread deet
So am I wanting to use > definitions to support creating multiple zpools (or whatever) per > node? Answering my own question after grokking Scott's email. I ended up with this. # Create raidz or raidz2 zpools define zfs::zpool($ensure = "present", $raid_parity, $raidz) { zpool { "$name":

Re: [Puppet Users] Re: beginner good practice question

2009-12-30 Thread Scott Smith
deet wrote: > Obviously I hadn't taken into consideration on how I could support > multiple zpools on one host. Just figured this out as I went to add a > second zpool to the node headbone. So am I wanting to use > definitions to support creating multiple zpools (or whatever) per In your cas

[Puppet Users] Re: Package type log messages

2009-12-30 Thread Jamie
Thank you Dan, I think I'll stick with what I've got and just make sure I rotate the logs. When testing my yum module, I created a list of exactly which packages are removed by running `yum list installed` before and after running my yum module so I'm safe there. Jamie On Dec 30, 10:46 am, Dan

[Puppet Users] Re: Newbie trying ModuleSSHAuth : getting resource Ssh_auth_key_namecheck[id_rsa] already exists.

2009-12-30 Thread Kassec
On Dec 29, 1:10 pm, Andrew Schulman wrote: > There are actually two problems here: > > (1) ssh::auth was trying to authorize the us...@lan key in the wrong place, > i.e. > in /home/user2/.ssh/authorized_keys. I just uploaded a new release, 0.3.2, > that > fixes this problem. Looks Fine. I

Re: [Puppet Users] Re: Newbie trying ModuleSSHAuth : getting resource Ssh_auth_key_namecheck[id_rsa] already exists.

2009-12-30 Thread Andrew Schulman
> I spent some time to find the subtle difference (regarding $home) > between : > > ssh::auth::server { "r...@ssh": } > > And : > > ssh::auth::server { "r...@ssh": > user=> "root", > } > > ;) Please, enlighten me. If it's not right, I'll correct it.

[Puppet Users] Re: Newbie trying ModuleSSHAuth : getting resource Ssh_auth_key_namecheck[id_rsa] already exists.

2009-12-30 Thread Kassec
Oops, I've been too fast. When I try to ssh::auth::key (realize Ssh::Auth::Key["$keyname"]) and ssh::auth::server without ssh::auth::client on a node, it fails on the master : err: Failed to realize virtual resources Ssh::Auth::key[...@ssh] I ran the server in debug and didn't get any more infor

Re: [Puppet Users] Re: Newbie trying ModuleSSHAuth : getting resource Ssh_auth_key_namecheck[id_rsa] already exists.

2009-12-30 Thread Andrew Schulman
> Oops, I've been too fast. When I try to ssh::auth::key (realize > Ssh::Auth::Key["$keyname"]) and ssh::auth::server without > ssh::auth::client on a node, it fails on the master : > > err: Failed to realize virtual resources Ssh::Auth::key[...@ssh] ssh::auth::key can't be made into a virtual re

[Puppet Users] Errors with puppet-dashboard

2009-12-30 Thread Brady Catherman
Every time I load reports into puppet-dashboard I get tons of nil:NilClass errors on every page. Here is an example stack trace. Has anybody encountered this before? (puppet 0.25.1 with puppet-dashboard checked out today). undefined method `with_indifferent_access' for nil:NilClass Extracte