Added puppet::disable class which configures puppet but disables daemon.
This commit is contained in:
parent
91ce5b61cf
commit
0e03596339
1 changed files with 14 additions and 0 deletions
|
@ -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
|
# Install and configure Puppet server
|
||||||
#
|
#
|
||||||
# === Global variables
|
# === Global variables
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue