ls -l /var/lib/puppet/state/puppetdlock (path may vary..) If its 0 bytes, either you ran out of disk space or its --disable'd. If its got a pid, that is the puppet daemon pid that is running an update. If it is missing, either puppet is not running at all or it is not running an update.
On Fri, Mar 19, 2010 at 5:44 PM, Douglas Garstang <doug.garst...@gmail.com>wrote: > On Fri, Mar 19, 2010 at 2:33 PM, Alan Sparks <aspa...@doublesparks.net> > wrote: > > Douglas Garstang wrote: > >> Is there a way to quiesce the puppet daemon, such that it stays > >> running, but does not run updates, until instructed again to do so? > >> > >> We have puppet deploying our software, and would like to quiesce > >> puppetd so that it doesn't restart services etc until after the > >> upgrade is done. > >> > >> Doug. > >> > >> > > > > Use "puppetd --disable" and "puppetd --enable". > > I... guess... that will do. Not ideal though as it stops puppet from > running new updates by making it think it's already running. It also > doesn't log to syslog that it's currently disabled, so it makes it > tough to see if it's been running for a long time and is completely > borked, or just locked for an upgrade. > > Doug > > -- > 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 unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@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-us...@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.