thank you ferm
[mirror/dsa-wiki.git] / input / howto / puppet-setup.mdwn
index 9d34199..821e98d 100644 (file)
@@ -6,7 +6,13 @@ this list is likely to get out of date quickly).
 
 To set up a new host to be a puppet client, do the following:
 
-       : ::client:: && apt-get install puppet &&
+Make sure you have set up the IP address for the new machine in ud-ldap.
+After that run puppet on puppetmaster once, so the ferm config get
+adjusted.
+
+       : __handel__ && puppetd -w 5 -t --factsync --environment=production
+
+       : ::client:: && apt-get install --no-install-recommends puppet &&
                 /etc/init.d/puppet stop &&
                 puppetd -w 5 --debug -t --factsync
 
@@ -59,6 +65,3 @@ We ship a samhain config file that includes /lib and /usr/lib.  This will
 almost certainly be different than the config file on the machine, so it
 will result in 1000s of files changed.
 You may need to run samhain update after getting puppet going.
-
-When you're happy with everything, add the new host to the puppet
-hostgroup in dsa-nagios.