module-postfix/manifests/disable.pp

12 lines
180 B
Puppet

class postfix::disable {
service{'postfix':
ensure => stopped,
enable => false,
}
package{'postfix':
ensure => absent,
require => Service['postfix'],
}
}