aboutsummaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-01 15:59:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-01 15:59:44 -0300
commite3acc068a0f373f66e23a7b5573018ca414492b7 (patch)
tree8215711771b5b1693389bd80938eb98eb5f998ae /files/etc
parent51bb1f6aea7ba3cb6e8e7eb8136e0715c57e53e0 (diff)
downloadpuppet-nodo-e3acc068a0f373f66e23a7b5573018ca414492b7.tar.gz
puppet-nodo-e3acc068a0f373f66e23a7b5573018ca414492b7.tar.bz2
Minor cleanups
Diffstat (limited to 'files/etc')
-rw-r--r--files/etc/rc.local5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/etc/rc.local b/files/etc/rc.local
index 8d93e07..fd951eb 100644
--- a/files/etc/rc.local
+++ b/files/etc/rc.local
@@ -19,6 +19,11 @@ fi
# Force the hostname
/bin/hostname `cat /etc/hostname`
+# Remove puppetd lock, then restart puppet with the right hostname
+# Not using this anymore since we moved to a masterless setup.
+#rm -f /var/lib/puppet/state/puppetdlock
+#/etc/init.d/puppet restart
+
# Keep this mountpoint while ekeyd fact needs it
if [ -d "/proc/bus/usb" ]; then
/bin/mount -t usbfs usbfs /proc/bus/usb -onodev,noexec,nosuid