cyrus + postfix: Notify the services if the user was modified.

This commit is contained in:
Lari Huttunen 2013-03-05 16:39:19 +01:00
parent ce1732d5b7
commit 5f3e6c481c
2 changed files with 2 additions and 0 deletions

View file

@ -67,6 +67,7 @@ class cyrus {
path => "/bin:/usr/bin:/sbin:/usr/sbin",
command => "usermod -a -G ssl-cert cyrus",
unless => "id -n -G cyrus | grep '\\bssl-cert\\b'",
notify => Service["cyrus-imapd"],
}
file { "/etc/cyrus.conf":

View file

@ -95,6 +95,7 @@ class postfix {
path => "/bin:/usr/bin:/sbin:/usr/sbin",
command => "usermod -a -G ssl-cert postfix",
unless => "id -n -G postfix | grep '\\bssl-cert\\b'",
notify => Service["postfix"],
}
if $postgrey {