From 8acbf76ef9981318a51a2fc8168c63b1bd8cfecb Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 12 Mar 2009 19:27:04 +0100 Subject: [PATCH] try with different line spacing --- input/howto/puppet-setup.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/input/howto/puppet-setup.mdwn b/input/howto/puppet-setup.mdwn index ba948a7..9503e96 100644 --- a/input/howto/puppet-setup.mdwn +++ b/input/howto/puppet-setup.mdwn @@ -5,6 +5,7 @@ configuration of samhain, munin, apt, and exim (although more to come - 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 && /etc/init.d/puppet stop && puppetd -w 5 --debug -t --factsync @@ -14,16 +15,20 @@ client cert. Now is the time to abort if you are getting cold feet. Compare incoming csr request: on handel: + : __handel__ && echo -n 'Client name: ' && read client && sha1sum /var/lib/puppet/ssl/ca/requests/$client.debian.org.pem on new client: + : ::client:: && sha1sum /var/lib/puppet/ssl/csr_$(hostname).debian.org.pem If you're satisfied, sign the request on handel with: + : __handel__ && puppetca --sign $client.debian.org bootstrap client knowledge of puppet ca: on handel: + : __handel__ && echo 'cat > /var/lib/puppet/ssl/certs/ca.pem << EOF ' && cat /var/lib/puppet/ssl/certs/ca.pem && echo 'EOF' && @@ -32,12 +37,14 @@ on handel: echo 'EOF' and execute this on the client. + : ::client:: copy paste the thing you just created on handel If this is a busy mail host, you might want to stop exim before proceeding although the config files should remain identical before and after. Then run (this will change the configs in /etc): + : ::client:: && puppetd -w 5 --debug -t --factsync This run will start puppet after reconfiguring it, so if you are -- 2.20.1