From: Silvio Rhatto Date: Sun, 7 Feb 2010 19:56:30 +0000 (-0200) Subject: Removing puppetd lock on node start X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=906fce4074bad6d0e46ebbcc84ffdb97472f2e93;p=puppet-nodo.git Removing puppetd lock on node start --- diff --git a/files/etc/rc.local b/files/etc/rc.local index 393c83e..504274e 100644 --- a/files/etc/rc.local +++ b/files/etc/rc.local @@ -14,6 +14,9 @@ # Force the hostname /bin/hostname `cat /etc/hostname` +# Remove puppetd lock +rm -f /var/lib/puppet/state/puppetdlock + # Then restart puppet with the right hostname /etc/init.d/puppet stop /etc/init.d/puppet start