diff options
-rw-r--r-- | files/etc/rc.local | 3 |
1 files changed, 3 insertions, 0 deletions
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 |