aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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'],
+ }
+
+}