new installs: samhain update
authorPeter Palfrader <peter@palfrader.org>
Thu, 30 May 2013 09:59:54 +0000 (11:59 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 30 May 2013 09:59:54 +0000 (11:59 +0200)
input/howto/new-machine.creole

index 62d4a4a..e72648d 100644 (file)
@@ -85,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]]