aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-02-16 17:00:59 +0100
committerMicah Anderson <micah@riseup.net>2013-04-23 15:25:04 -0400
commitccb7492f8b5dd63bf683583e6a2d84a0a5fb0617 (patch)
tree3eb4060d36f4b53fca8b3d017a3f794604b0f246 /manifests
parent4ee607c219719c8ff084c3ed6e2844c9669abb12 (diff)
downloadpuppet-postfix-ccb7492f8b5dd63bf683583e6a2d84a0a5fb0617.tar.gz
puppet-postfix-ccb7492f8b5dd63bf683583e6a2d84a0a5fb0617.tar.bz2
add disable class
Diffstat (limited to 'manifests')
-rw-r--r--manifests/disable.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/disable.pp b/manifests/disable.pp
new file mode 100644
index 0000000..fde3984
--- /dev/null
+++ b/manifests/disable.pp
@@ -0,0 +1,12 @@
+class postfix::disable {
+
+ service{'postfix':
+ ensure => stopped,
+ enable => false,
+ }
+ package{'postfix':
+ ensure => removed,
+ require => Service['postfix'],
+ }
+
+}