diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-07 17:56:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-07 17:56:30 -0200 |
commit | 906fce4074bad6d0e46ebbcc84ffdb97472f2e93 (patch) | |
tree | 420daf5ffd5ba6255e17e3662230c8d992566129 /files/etc | |
parent | 9eda5332167ffb2f511ce7f88cd5b08f100a62ad (diff) | |
download | puppet-nodo-906fce4074bad6d0e46ebbcc84ffdb97472f2e93.tar.gz puppet-nodo-906fce4074bad6d0e46ebbcc84ffdb97472f2e93.tar.bz2 |
Removing puppetd lock on node start
Diffstat (limited to 'files/etc')
-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 |