X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=blobdiff_plain;f=input%2Fhowto%2Fpuppet-setup.mdwn;h=ca88b204f50055b536f2d7309d35896c429dfb26;hp=243d759d907ce7886b423741b788cb2c508261fa;hb=e7870f7172b032decf2c007ef571b5f321f221d9;hpb=17282aa05cfcba40f25c8de5e565a28dacf10a5f diff --git a/input/howto/puppet-setup.mdwn b/input/howto/puppet-setup.mdwn index 243d759..ca88b20 100644 --- a/input/howto/puppet-setup.mdwn +++ b/input/howto/puppet-setup.mdwn @@ -15,7 +15,7 @@ adjusted. : ::client:: && me=$(hostname -f) && [ "$me" != "${me%debian.org}" ] && apt-get update && apt-get install -y --no-install-recommends puppet ruby-augeas augeas-lenses lsb-release && service puppet stop && - (puppet agent --no-daemonize --onetime || true ) && + (puppet agent -t || true ) && cd /var/lib/puppet/ssl/certificate_requests && echo sha256sum output: && echo && sha256sum $me.pem && @@ -44,8 +44,8 @@ on handel, paste the sha256output:: echo 'EOF' && cd / && echo 'puppet agent --enable' && - echo 'puppet agent --no-daemonize --onetime --pluginsync' && - echo 'puppet agent --no-daemonize --onetime --pluginsync' + echo 'puppet agent -t --pluginsync' && + echo 'puppet agent -t --pluginsync' and execute this on the client. @@ -56,13 +56,13 @@ although the config files should remain identical before and after. Try this once if you're nervous: - : ::client:: && puppet agent --no-daemonize --onetime --pluginsync --noop + : ::client:: && puppet agent -t --pluginsync --noop It will tell you what would have changed without actually doing it. Then run (this will change the configs in /etc): - : ::client:: && puppet agent --no-daemonize --onetime --pluginsync + : ::client:: && puppet agent -t --pluginsync This run will start puppet after reconfiguring it, so if you are unhappy with what just happened, you'll need to stop it again to do