Re: [Puppet Users] Re: "# Only restart if we're actually running"

2010-12-21 Thread Craig Miskell
o don't restart even if Puppet (or anyone else) asks you to. If there *is* an app at that PID, then the app is running and needs to be restarted/reloaded as requested. - -- Craig Miskell Senior Systems Administrator Opus International Consultants Phone: +64 4 471 7209 OpenVMS: The OS with

Re: [Puppet Users] best way to test snippets of puppet config

2010-11-22 Thread Craig Miskell
to write to as a non-root user. You can either check the output (redirect it?) or check the exit code. If the latter is not 0, then the compile failed. The good thing is, with this, you can run it as a non-root user (safe), and it's not actually being applied anywhere (excellent if you make s

Re: [Puppet Users] Re: Immediate puppetrun with splay

2010-08-19 Thread Craig Miskell
rom your init script, make the start function/section run it with --onetime then run it with splay. You get your immediate run, then your delayed and periodic runs. - -- Craig Miskell Senior Systems Administrator Opus International Consultants Phone: +64 4 471 7209 On SQL performance problems: &quo

Re: [Puppet Users] Arbitrary barriers to bug reporting

2010-06-03 Thread Craig Miskell
lt to read text image (images as text on the web? That's horrible design). /end rant^Wsarcasm^Wirony^W oh hell, I don't know what this is. :) -- Craig Miskell Senior Systems Administrator Opus International Consultants Phone: +64 4 471 7209 Lots of couples say, "We want a baby.&qu

Re: [Puppet Users] wildcard node names

2010-05-20 Thread Craig Miskell
it is. -- Craig Miskell Senior Systems Administrator Opus International Consultants Phone: +64 4 471 7209 AMAZING BUT TRUE ... If all the salmon caught in Canada in one year were laid end to end across the Sahara Desert, the smell would be absolutely awful. -- You received this me

Re: [Puppet Users] Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Craig Miskell
wouldn't respond). It looked like a hard road for little gain, so I switched back to 1.8. Craig Miskell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsub

Re: [Puppet Users] Puppet's call to /sbin/service somehow different than calling from the command line?

2010-02-23 Thread Craig Miskell
. Don't know which ones might be important though :); you could use "set" or "env" in the service startup script and dump the output to a text file, then compare the state between a terminal invocation and that from puppet. See what's different and go from there.

[Puppet Users] Re: Conditional based on existence of a file

2009-10-26 Thread Craig Miskell
27;s things from there. It's a fairly "purist" approach, and I will leave discussions of the merit of that up to others, but I hope that makes it a little clearer where they are coming from. And if I've missed the point completely, someone smack me upside the head and tell

[Puppet Users] Ruby 1.9.1 compatibility?

2009-09-29 Thread Craig Miskell
Could not autoload status: undefined method `add_method' for nil:NilClass Should I be chasing, or is that wasted effort and I should continue with 1.8 for now? Thanks, -- Craig Miskell Senior Systems Administrator Opus International Consultants "No wonder Unix makes you feel boxed i

[Puppet Users] Re: A couple of persistent errors I can't seem to get rid of.

2009-09-14 Thread Craig Miskell
Tim Uckun wrote: > The puppetmaster reports the following error. > > err: Report store failed: Invalid group puppet on setting . Valid > groups are service. > > What is it trying to tell me? I have the following set. > > storeconfigs=true > dbadapter = sqlite3 > dblocation = /var/puppet/storeco

[Puppet Users] Re: Controlling the frequency of different tasks.

2009-09-14 Thread Craig Miskell
-- Craig Miskell Senior Systems Administrator Opus International Consultants "People say I'm apathetic but I don't care" Tim Uckun wrote: > I know that the puppet client runs the entire catalog at the frequency > you decide but... > > I do think it would be ni

[Puppet Users] Re: Configuration parse testing

2009-09-13 Thread Craig Miskell
the defaults use "service" instead of "puppet" to represent the user/group that the process is actually running as. I use "su", having changed the shell for the puppet user to /bin/bash. 2) You'll need the JSON library package (libjson-ruby1.8 in etch at

[Puppet Users] Re: Configuration parse testing

2009-09-13 Thread Craig Miskell
James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Craig Miskell wrote: >> Hi, >> My current puppet deployment is in it's very early stages, so I'm still >> fumbling around a little. Assuming I'm editing >> my co

[Puppet Users] Configuration parse testing

2009-09-13 Thread Craig Miskell
c syntax errors, not "correctness" of application (that's a completely different kettle of fish). I don't yet have a separate "test" environment; how do other people handle this sort of thing? Thanks, -- Craig Miskell Senior Systems Administrator Opus International

[Puppet Users] Puppet status reporting

2009-09-13 Thread Craig Miskell
#x27;t seem to be any other projects in this vein. I can see roughly where I'd have to go to make it work myself, but before I do that work, it'd be good to be sure there's not something already there. Is anyone aware of such a thing, either already done, or in-progress tha

[Puppet Users] Re: modifying a client's config file

2009-09-13 Thread Craig Miskell
gt; > Any suggestions on how to do this more properly? For grub, check if your distro has "grubby", a command line tool for modifying the grub config file. Last I saw it was on RedHat/CentOS/Fedora; it's not on the Debian I have here to hand,

[Puppet Users] Re: Even the "Simplest Puppet Install Recipe" apparently isn't simple enough

2009-09-06 Thread Craig Miskell
useful command to see what the name on the certificate is, if the above doesn't work. > Thanks > Mike Hope that points you in the right direction. -- Craig Miskell Senior Systems Administrator Opus International Consultants I wish there was a knob on the TV to