From 0e03596339e5a330cda5e9af07503b6c6eb8c663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 29 Sep 2009 23:40:40 +0300 Subject: [PATCH] Added puppet::disable class which configures puppet but disables daemon. --- puppet/manifests/init.pp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index 22d2657..57ff02e 100644 --- a/puppet/manifests/init.pp +++ b/puppet/manifests/init.pp @@ -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