1 2 3 4 5 6 7 8 9 10 11 12
class postfix::disable::base { service{'postfix': ensure => stopped, enable => false, } package{'postfix': ensure => absent, require => Service['postfix'], } }