sendmail: Require sendmail package before deploying private key to get smmsp group into system.

This commit is contained in:
Timo Makinen 2014-03-14 10:17:09 +02:00
parent a5a7b8f15c
commit 7a9de1e10d

View file

@ -172,6 +172,10 @@ class sendmail::client::msa inherits sendmail::client {
owner => "root",
group => "smmsp",
source => $sendmail_ssl_key,
require => $::operatingsystem ? {
"openbsd" => undef,
default => Package["sendmail"],
},
notify => Service["sendmail"],
}
file { "${ssl::certs}/${ssl_cert}":