Added puppet::disable class which configures puppet but disables daemon.

This commit is contained in:
Timo Mkinen 2009-09-29 23:40:40 +03:00
parent 91ce5b61cf
commit 0e03596339

View file

@ -63,6 +63,20 @@ class puppet::client {
}
# Install and configure Puppet client but disable service.
#
class puppet::manual inherits puppet::client {
Service["puppet"] {
ensure => undef,
hasrestart => undef,
restart => "/bin/echo 'Puppet restart requested, re-run puppet manually.' ; /bin/false",
enable => false,
}
}
# Install and configure Puppet server
#
# === Global variables