After that run puppet on puppetmaster once, so the ferm config get
adjusted.
- : __handel__ && puppet agent -t --environment=production
+ : __handel__ && puppet agent --no-daemonize --onetime --environment=production
: ::client:: && me=$(hostname -f) && [ "$me" != "${me%debian.org}" ] && apt-get update &&
apt-get install -y --no-install-recommends puppet libaugeas-ruby1.8 augeas-lenses lsb-release &&
service puppet stop &&
- (puppet agent -t || true ) &&
+ (puppet agent --no-daemonize --onetime || true ) &&
cd /var/lib/puppet/ssl/certificate_requests &&
echo sha256sum output: && echo &&
sha256sum $me.pem &&
echo "cat > /var/lib/puppet/ssl/certs/$filename << EOF " &&
cat /var/lib/puppet/ssl/ca/signed/$filename &&
echo 'EOF' &&
- cd /
+ cd / &&
+ echo 'puppet agent --enable' &&
+ echo 'puppet agent --no-daemonize --onetime --pluginsync' &&
+ echo 'puppet agent --no-daemonize --onetime --pluginsync'
and execute this on the client.
Try this once if you're nervous:
- : ::client:: && puppet agent -t --pluginsync --noop
+ : ::client:: && puppet agent --no-daemonize --onetime --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 -t --pluginsync
+ : ::client:: && puppet agent --no-daemonize --onetime --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
passwords to this file. To stop git complaining on push, make sure you
update .gitignore for the new file. Now you can import this file where
you need passwords and use them.
-
-# vim:textwidth=72 sw=8 ts=8 et