sendmail: Fixed restart when sendmail.cf changes on Linux
This commit is contained in:
parent
92f7a164e4
commit
58125b0782
1 changed files with 2 additions and 1 deletions
|
@ -294,6 +294,7 @@ class sendmail::server inherits sendmail::common {
|
||||||
default => Package["sendmail"],
|
default => Package["sendmail"],
|
||||||
},
|
},
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
|
notify => Service["sendmail"],
|
||||||
}
|
}
|
||||||
file { "/etc/mail/sendmail.cf":
|
file { "/etc/mail/sendmail.cf":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
@ -305,7 +306,7 @@ class sendmail::server inherits sendmail::common {
|
||||||
default => undef,
|
default => undef,
|
||||||
},
|
},
|
||||||
require => Exec["make sendmail.cf"],
|
require => Exec["make sendmail.cf"],
|
||||||
notify => Service["sendmail"],
|
before => Service["sendmail"],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/etc/aliases":
|
file { "/etc/aliases":
|
||||||
|
|
Loading…
Add table
Reference in a new issue