diff options
author | mh <mh@immerda.ch> | 2012-02-16 17:00:59 +0100 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-04-23 15:25:04 -0400 |
commit | ccb7492f8b5dd63bf683583e6a2d84a0a5fb0617 (patch) | |
tree | 3eb4060d36f4b53fca8b3d017a3f794604b0f246 /manifests | |
parent | 4ee607c219719c8ff084c3ed6e2844c9669abb12 (diff) | |
download | puppet-postfix-ccb7492f8b5dd63bf683583e6a2d84a0a5fb0617.tar.gz puppet-postfix-ccb7492f8b5dd63bf683583e6a2d84a0a5fb0617.tar.bz2 |
add disable class
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/disable.pp | 12 |
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'], + } + +} |