LDAP host entries are more important now
authorPeter Palfrader <peter@palfrader.org>
Fri, 28 Aug 2009 20:25:45 +0000 (22:25 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 28 Aug 2009 20:25:45 +0000 (22:25 +0200)
input/howto/new-machine.creole

index f73c2da..fcf4c31 100644 (file)
@@ -26,19 +26,16 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
     dpkg -l postfix | grep '^ii  postfix' && (dpkg --purge postfix && rm /etc/aliases)
 }}}
 
-* setup [[puppet|howto/puppet-setup]]  (run the puppet client two or three times until things converge.)
+* on draghi, add the host to the ldap using ud-host.  Set the ssh key and the IP Address attributes.
 
-* on draghi, add the host to /home/sshdist/.ssh/authorized_keys
-(you want the host's rsa host key there: {{{cat /etc/ssh/ssh_host_rsa_key.pub}}})
-{{{
-    : :: draghi :: && sudo vi /home/sshdist/.ssh/authorized_keys
-}}}
-* use ud-host to add the new host to LDAP
 * run generate, or wait until cron runs it for you
 {{{
-    : :: draghi :: && sudo -u sshdist ud-generate
+    : :: draghi :: && sudo -u sshdist ud-generate && sudo -H ud-replicate
 }}}
 
+* setup [[puppet|howto/puppet-setup]]  (run the puppet client two or three times until things converge.)
+
+
 * fix nsswitch for ud fu.  (you might have to restart sshd here)
 {{{
     sed -i -e 's/^passwd:\[[:space:]]\+compat$/passwd:         compat db/;