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 Professional Services http://puppetlabs.com/ (c)631.871.6441 On Monday, September 26, 2011 at 5:13 PM, mbargar wrote: > 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 and used > MCO to run "mco puppetd runonce -I mycomputer" and that works and all, > but on the client side that runs "/opt/puppet/bin/ruby1.8 /opt/puppet/ > sbin/puppetd --onetime --splaylimit 120 --splay" which in turns starts > the puppet agent service and then it reads my manifest and says that > agent should be stopped. So how can i get MCO to work like i need it > to, but also not interfere with the "ensure => stopped" of my > manifest? > > FYI, everytime that i run the MCO command, i get "Caught TERM; calling > stop", which i am assuming is due to thge fact that it is stopping the > service. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com > (mailto:puppet-users@googlegroups.com). > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com > (mailto:puppet-users+unsubscr...@googlegroups.com). > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.