Use service foo rather than calling init scripts directly
[mirror/dsa-wiki.git] / input / howto / puppet-setup.mdwn
index 9487503..aad6e4e 100644 (file)
@@ -14,7 +14,7 @@ adjusted.
 
         : ::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 &&
-                /etc/init.d/puppet stop &&
+                service puppet stop &&
                 (puppet agent -t || true ) &&
                 cd /var/lib/puppet/ssl/certificate_requests &&
                 echo sha256sum output: && echo &&