sendmail: Fixed restart when sendmail.cf changes on Linux

This commit is contained in:
Ossi Salmi 2013-07-20 18:25:34 +03:00
parent 92f7a164e4
commit 58125b0782

View file

@ -294,6 +294,7 @@ class sendmail::server inherits sendmail::common {
default => Package["sendmail"],
},
refreshonly => true,
notify => Service["sendmail"],
}
file { "/etc/mail/sendmail.cf":
ensure => present,
@ -305,7 +306,7 @@ class sendmail::server inherits sendmail::common {
default => undef,
},
require => Exec["make sendmail.cf"],
notify => Service["sendmail"],
before => Service["sendmail"],
}
file { "/etc/aliases":