From 39f1218960348d43bd368bff546d9467a1264e0d Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 20 May 2013 18:54:13 +0200 Subject: debian's service provider has some issues if the script is absent, we can workaround this problem using the trick of this patch --- manifests/disable/base.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 manifests/disable/base.pp (limited to 'manifests/disable/base.pp') diff --git a/manifests/disable/base.pp b/manifests/disable/base.pp new file mode 100644 index 0000000..5c56c70 --- /dev/null +++ b/manifests/disable/base.pp @@ -0,0 +1,12 @@ +class postfix::disable::base { + + service{'postfix': + ensure => stopped, + enable => false, + } + package{'postfix': + ensure => absent, + require => Service['postfix'], + } + +} -- cgit v1.2.3