From 49220bec57bbba0b0415fa9e1be1be274c1d35c3 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 28 Apr 2015 16:09:31 +0200 Subject: [PATCH] reboot after samhain run --- input/howto/upgrade-to-jessie.mdwn | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/input/howto/upgrade-to-jessie.mdwn b/input/howto/upgrade-to-jessie.mdwn index cae3d77..cbb15f1 100644 --- a/input/howto/upgrade-to-jessie.mdwn +++ b/input/howto/upgrade-to-jessie.mdwn @@ -71,12 +71,6 @@ apache cleanup: replace all order allow,deny, allow from all with Require all granted -re-init samhain - - (puppet agent -t || true) && - (puppet agent -t || true) && - samhain --foreground -t init -p none -s none -l none -m none - Add the new ed25519 ssh host key: run echo; echo "cat << EOF | ldapmodify -ZZ -x -D uid="\$USER",ou=users,dc=debian,dc=org -W -h db.debian.org"; echo "dn: host=`hostname`,ou=hosts,dc=debian,dc=org"; echo "changetype: modify"; echo "add: sshRSAHostKey"; echo "sshRSAHostKey: `cat /etc/ssh/ssh_host_ed25519_key.pub `"; echo; echo "EOF"; echo @@ -84,4 +78,9 @@ Add the new ed25519 ssh host key: update dsa-nagios.git (add host to jessie hostgroup) -reboot. +re-init samhain and finish with a reboot + + (puppet agent -t || true) && + (puppet agent -t || true) && + samhain --foreground -t init -p none -s none -l none -m none && + /sbin/reboot -- 2.20.1