From 906fce4074bad6d0e46ebbcc84ffdb97472f2e93 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 7 Feb 2010 17:56:30 -0200 Subject: Removing puppetd lock on node start --- files/etc/rc.local | 3 +++ 1 file changed, 3 insertions(+) (limited to 'files') 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 -- cgit v1.2.3