Do not ask for confirmation here
[mirror/dsa-wiki.git] / input / howto / new-machine.creole
index e9015ba..d8e6c65 100644 (file)
@@ -64,12 +64,17 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
 
 * install debian.org which brings you shells and much other fun
 {{{
-    apt-get install debian.org debian.org-recommended
+    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
 {{{
-    puppetd -t; puppetd -t; puppetd -t; puppetd -t
+    puppet agent -t; puppet agent -t; puppet agent -t; puppet agent -t
 }}}
 
 * try to login using your user and ssh key.  you should get a homedir.
@@ -93,17 +98,18 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
   newaliases
 }}}
 
+* install samhain and get puppet to configure it
+{{{
+  apt-get install samhain
+  puppet agent -t
+}}}
+
 * if it is a HP Proliant, or has other management fu, read [[howto/ilo-https]]
 
 * edit dedication into in $DSA-PUPPET/modules/debian-org/misc/local.yaml
 
 * Add host to smarthost machines in $DSA-PUPPET/modules/debian-org/misc/local.yaml (if so desired).  Set MX in ud-ldap.
 
-* If you need mail now instead of in a day, on handel:
-{{{
-  : :: handel :: : && sudo -u puppet make -C /srv/puppet.debian.org/ca/ install
-}}}
-
 * add to nagios
 
 -- weasel, Wed, 04 Jun 2008 20:52:56 +0200