reboot after samhain run
authorPeter Palfrader <peter@palfrader.org>
Tue, 28 Apr 2015 14:09:31 +0000 (16:09 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 28 Apr 2015 14:09:31 +0000 (16:09 +0200)
input/howto/upgrade-to-jessie.mdwn

index cae3d77..cbb15f1 100644 (file)
@@ -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