add disable class
This commit is contained in:
parent
4ee607c219
commit
ccb7492f8b
1 changed files with 12 additions and 0 deletions
12
manifests/disable.pp
Normal file
12
manifests/disable.pp
Normal file
|
@ -0,0 +1,12 @@
|
|||
class postfix::disable {
|
||||
|
||||
service{'postfix':
|
||||
ensure => stopped,
|
||||
enable => false,
|
||||
}
|
||||
package{'postfix':
|
||||
ensure => removed,
|
||||
require => Service['postfix'],
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue