first puppetd -t will fail
[mirror/dsa-wiki.git] / input / howto / puppet-setup.mdwn
index 11bf81d..499b01e 100644 (file)
@@ -15,9 +15,8 @@ adjusted.
         : ::client:: && apt-get update &&
                 apt-get install --no-install-recommends puppet libaugeas-ruby1.8 augeas-lenses &&
                 /etc/init.d/puppet stop &&
-                puppetd -w 5 -t
-
-        : ::client:: && cd /var/lib/puppet/ssl/certificate_requests &&
+                (puppetd -t || true ) &&
+                cd /var/lib/puppet/ssl/certificate_requests &&
                 echo sha256sum output: && echo &&
                 sha256sum $(hostname -f).pem &&
                 echo && echo && cd /