Use -t with puppet agent again instead of onetime --pluginsync. -t also implies...
[mirror/dsa-wiki.git] / input / howto / new-machine.creole
index 675c708..36edc83 100644 (file)
@@ -22,7 +22,7 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
 
 * run generate, or wait until cron runs it for you.  Update DNS.
 {{{
-    : :: draghi :: && sudo -u sshdist ud-generate && sudo -H ud-replicate && sudo -H puppet agent --no-daemonize --onetime
+    : :: draghi :: && sudo -u sshdist ud-generate && sudo -H ud-replicate && sudo -H puppet agent -t
     : :: denis :: && sudo -H ud-replicate
 }}}
 
@@ -43,7 +43,7 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
 
 * run puppet a couple times
 {{{
-    puppet agent --no-daemonize --onetime; puppet agent --no-daemonize --onetime; puppet agent --no-daemonize --onetime; puppet agent --no-daemonize --onetime
+    puppet agent -t; puppet agent -t; puppet agent -t
 }}}
 
 * install security updates etc.
@@ -68,7 +68,7 @@ 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 -y samhain &&
-  ( puppet agent --no-daemonize --onetime || true ) &&
+  ( puppet agent -t || true ) &&
   service samhain stop &&
   rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
   samhain --foreground -t init -p none -s none -l none -m none &&