new installs: samhain update
[mirror/dsa-wiki.git] / input / howto / new-machine.creole
index 2b7b78d..e72648d 100644 (file)
@@ -57,11 +57,6 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
     apt-get install -y debian.org debian.org-recommended
 }}}
 
-* On handel, make sure the certs exist for the new host
-{{{
-  : :: handel :: : && sudo -u puppet make -C /srv/puppet.debian.org/ca/ install
-}}}
-
 * run puppet a couple times
 {{{
     puppet agent -t; puppet agent -t; puppet agent -t; puppet agent -t
@@ -90,8 +85,12 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
 
 * install samhain and get puppet to configure it
 {{{
-  apt-get install samhain
-  puppet agent -t
+  apt-get install -y samhain &&
+  ( puppet agent -t || true ) &&
+  service samhain stop &&
+  rm /var/state/samhain/samhain_file &&
+  samhain --foreground -t init -p none -s none -l none -m none &&
+  service samhain start
 }}}
 
 * if it is a HP Proliant, or has other management fu, read [[howto/ilo-https]]