Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-09-26 Thread Ohad Levy
On Mon, Sep 26, 2011 at 12:29 AM, Scott Smith wrote: > Ohad, was rand_fqdn not sufficient for you? well.. I did it a long time ago, so I'm not 100% sure, but I think the main reason was to allow to manage cron entries over an interval, e.g. 3 times an hour, or 7 times a day in a random fashion.

Re: [Puppet Users] ldap ENC extension to use environment parent node

2011-09-26 Thread Rob McBroom
On Sep 23, 2011, at 10:04 AM, habanero wrote: > I have a suggestion regarding ldap use as an ENC - if a node within > ldap has the environment attribute set then it should inherit/mixin > (if available) from a node named after it's environment. I don’t know how it will behave in practice, but in

[Puppet Users] Re: Export variables into other classes

2011-09-26 Thread jcbollinger
On Sep 23, 6:40 am, Chris wrote: > On Thu, 2011-09-22 at 13:26 -0700, jcbollinger wrote: > > > > I would like the backup_include to automatically include /var/www if > > > the host is an apache server (for example), and I would like those > > > directories to be defined in the apache class (not

[Puppet Users] Re: Gotchas around upgrading from an old version (0.25.4) to a newer version.

2011-09-26 Thread jcbollinger
On Sep 25, 7:22 pm, Brian Gupta wrote: > If you follow the mailing list it seems that there were a larger number of > deliberate syntax changes from the move from 2.6 to 2.7 than there were from > 0.25 to 2.6. IE: Syntax that changes behavior, not just breaks. And that affects the server, but

[Puppet Users] Re: ldap ENC extension to use environment parent node

2011-09-26 Thread habanero
On Sep 26, 2:02 pm, Rob McBroom wrote: > I don’t know how it will behave in practice, but in the LDAP schema, > parentNode is defined as multi-value. So you should be able to define an > additional parent node named after the environment. Hmm, my puppet.schema contains this for the parentNode d

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-09-26 Thread Brian Gallew
I ended up writing a custom rand_fqdn function based heavily off the standard rand_fqdn. In my environment, we have a lot of related system (e.g. webs001, webs002, webs003), many of which have significant startup times. I changed the function to split an incoming hostname into a name+numeric suff

Re: [Puppet Users] Re: Gotchas around upgrading from an old version (0.25.4) to a newer version.

2011-09-26 Thread Yvo van Doorn
On Sep 26, 2011, at 8:54 AM, jcbollinger wrote: > > > On Sep 25, 7:22 pm, Brian Gupta wrote: >> If you follow the mailing list it seems that there were a larger number of >> deliberate syntax changes from the move from 2.6 to 2.7 than there were from >> 0.25 to 2.6. IE: Syntax that changes behav

Re: [Puppet Users] Re: Gotchas around upgrading from an old version (0.25.4) to a newer version.

2011-09-26 Thread Paul Morgan
On Sep 26, 2011 12:08 PM, "Yvo van Doorn" wrote: Snip > > > Thanks Brian and John for your thorough responses. I'm inclined to > make the jump straight to 2.7.x as well. My plan of attack is to bring > up a clone of the current puppet master VM and upgrade that to 2.7 and > connect a few stage/tes

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-09-26 Thread Aaron Grewell
I picked this up online somewhere and modified to suit: # Puppet will run twice an hour on a random schedule to spread load. $first_run = fqdn_rand(30) $second_run = fqdn_rand(30) + 30 cron { 'puppet_cron': command => '/usr/bin/puppet agent --onetime --logdest syslog > /dev/nu

[Puppet Users] puppet log check nagios plugin

2011-09-26 Thread CHEBRIAN
Hi, Is there any plugin available to fetch the data from puppet log. Or need to customize any existing nagios_log check plugins . Please share the idea's/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pup

Re: [Puppet Users] bug: --verbose on v2.6.6 doesn't always report changes. known and fixed in 2.7?

2011-09-26 Thread Jo Rhett
Nope, just puppet itself. (unless passenger is part of puppet and I could be running it without knowing it) On Sep 23, 2011, at 7:40 PM, Jason Slagle wrote: > Are you running passenger? I believe there is/was a known issue with this > and passenger. > > Jason > > Sent from my iPad > > On Sep

[Puppet Users] issues with puppet service and mco puppetd

2011-09-26 Thread mbargar
Ok so we are running puppet agent via cron jobs and have the puppet agent set to the following: service { "pe-puppet-agent": enable => false, ensure => stopped, hasstatus => true, hasrestart => true, } so i need to get something out to all of out servers urgently a

Re: [Puppet Users] issues with puppet service and mco puppetd

2011-09-26 Thread Eric Shamow
You don't actually need the ensure => stopped. If you are set to enable => false, that's good enough - ensure => stopped will kill the daemon every time it starts. -Eric -- Join us for PuppetConf (http://www.bit.ly/puppetconfsig), September 22nd and 23rd in Portland, OR. Eric Shamow Professi

Re: [Puppet Users] issues with puppet service and mco puppetd

2011-09-26 Thread R.I.Pienaar
- Original Message - > Ok so we are running puppet agent via cron jobs and have the puppet > agent set to the following: >service { "pe-puppet-agent": > enable => false, > ensure => stopped, > hasstatus => true, > hasrestart => true, > } > so i need to g

Re: [Puppet Users] bug: --verbose on v2.6.6 doesn't always report changes. known and fixed in 2.7?

2011-09-26 Thread Nigel Kersten
On Mon, Sep 26, 2011 at 11:22 AM, Jo Rhett wrote: > Nope, just puppet itself. (unless passenger is part of puppet and I could be > running it without knowing it) We thought this problem was restricted to Passenger setups, but it appears it was wider than that. http://projects.puppetlabs.com/issu

[Puppet Users] New Puppetmaster certificates with seperate ca_server

2011-09-26 Thread Jemmorey
Can anyone suggest a good method for automatically configuring a puppetmaster to get it's certificate with dnscertalias's from a standalone root CA. I have found that if I start up the puppetmaster for the first time with the ca = false and specifying the ca_server it will not request a new certif