[Puppet Users] Re: running sudo commands

2010-05-27 Thread DWIM
On May 27, 1:49 pm, DWIM wrote: > Hi Prudhvi, > > puppet = NOPASSWD: /usr/sbin/apt-get update > Oops, think to have forgotten a glob wildcard here and it should rather read uppet = NOPASSWD: /usr/sbin/apt-get update * But the first more unspecific rule I mentioned should accep

[Puppet Users] Re: running sudo commands

2010-05-27 Thread DWIM
Hi Prudhvi, though I'm a Puppet newbie I do think indeed that the puppetd usually is run as user root because most configuration changes do require root privileges. Was there any particular reason why you instead have your puppetd run as user puppet? Anyway, I would assume that in this case the

[Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-25 Thread DWIM
On May 22, 8:42 pm, Benoit Cattié wrote: > Hi, > > You can get the ipadress with facter (and use it in your puppet classes, > templates ...) That was what I also had in mind first when I needed to specify a host's IP address as bind address in some xinetd spawned server's config file. However, h

[Puppet Users] Re: Is there a way to pass options to rpm provider of package resource?

2010-05-21 Thread DWIM
> We wrote it all in Perl :-). Ah, did you use any CPAN modules, or did you wrote all from scratch? Just out of curiosity. > Yep:http://docs.reductivelabs.com/references/stable/metaparameter.html Yes, I remember to have consulted this reference already a couple of times. > Something like: > >

[Puppet Users] Re: Is there a way to pass options to rpm provider of package resource?

2010-05-21 Thread DWIM
Many thanks for your kind help. > The nsca solution can be problematic - we wrote our own receiver/ > sender and shipped stuff via snmp instead. I seem to remember a skew > issue - where all nsca updates from all servers where sent on the > minute (ie. zero seconds past the minute) - can't recall

[Puppet Users] Re: Is there a way to pass options to rpm provider of package resource?

2010-05-20 Thread DWIM
Hi Ken On May 19, 6:23 pm, Ken wrote: > > As a complete diversion from your issue - I ended up moving away from > NRPE in the end and used distributed nagios servers on each box. > This was purely for scaling reasons due to NRPE tests holding up resources > on the server. A Nagios server on each

[Puppet Users] Re: Is there a way to pass options to rpm provider of package resource?

2010-05-19 Thread DWIM
ot; or "before" attributes with the respective package referrals? On May 19, 2:23 pm, DWIM wrote: > Hi, > > I am new to Puppet. > > After having read quite a bit through the online puppet docs, as well > as wiki posts and James' "Pulling Strings with Puppet" I i

[Puppet Users] Is there a way to pass options to rpm provider of package resource?

2010-05-19 Thread DWIM
Hi, I am new to Puppet. After having read quite a bit through the online puppet docs, as well as wiki posts and James' "Pulling Strings with Puppet" I installed a puppet master on an RHEL 5 box and one puppetd on an HP-UX box (which was a bit of a challenge owe to the notorious Ruby agnosticism o