From 5f3e6c481c0f3366e4db7bbedbc6e3c1803770d6 Mon Sep 17 00:00:00 2001 From: Lari Huttunen Date: Tue, 5 Mar 2013 16:39:19 +0100 Subject: [PATCH] cyrus + postfix: Notify the services if the user was modified. --- cyrus/manifests/init.pp | 1 + postfix/manifests/init.pp | 1 + 2 files changed, 2 insertions(+) diff --git a/cyrus/manifests/init.pp b/cyrus/manifests/init.pp index fe988ed..567e791 100644 --- a/cyrus/manifests/init.pp +++ b/cyrus/manifests/init.pp @@ -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": diff --git a/postfix/manifests/init.pp b/postfix/manifests/init.pp index 82bbb59..db5f709 100644 --- a/postfix/manifests/init.pp +++ b/postfix/manifests/init.pp @@ -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 {