diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/opendkim.pp | 5 | ||||
-rw-r--r-- | manifests/opendkim/key.pp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/manifests/opendkim.pp b/manifests/opendkim.pp index 1a30dba..f688c04 100644 --- a/manifests/opendkim.pp +++ b/manifests/opendkim.pp @@ -9,6 +9,7 @@ class mail::opendkim { mode => 0644, source => "puppet:///modules/mail/opendkim/default", require => Package['opendkim'], + notify => Service['opendkim'], } file { '/etc/opendkim.conf': @@ -19,6 +20,7 @@ class mail::opendkim { source => [ "puppet:///modules/site_mail/opendkim/opendkim.conf", "puppet:///modules/mail/opendkim/opendkim.conf" ], require => Package['opendkim'], + notify => Service['opendkim'], } file { '/etc/opendkim': @@ -45,6 +47,7 @@ class mail::opendkim { source => [ "puppet:///modules/site_mail/opendkim/TrustedHosts", "puppet:///modules/mail/opendkim/TrustedHosts" ], require => File['/etc/opendkim'], + notify => Service['opendkim'], } file { '/etc/opendkim/KeyTable': @@ -55,6 +58,7 @@ class mail::opendkim { source => [ "puppet:///modules/site_mail/opendkim/KeyTable", "puppet:///modules/mail/opendkim/KeyTable" ], require => File['/etc/opendkim'], + notify => Service['opendkim'], } file { '/etc/opendkim/SigningTable': @@ -65,6 +69,7 @@ class mail::opendkim { source => [ "puppet:///modules/site_mail/opendkim/SigningTable", "puppet:///modules/mail/opendkim/SigningTable" ], require => File['/etc/opendkim'], + notify => Service['opendkim'], } service { 'opendkim' : diff --git a/manifests/opendkim/key.pp b/manifests/opendkim/key.pp index e14a228..d653f31 100644 --- a/manifests/opendkim/key.pp +++ b/manifests/opendkim/key.pp @@ -14,5 +14,6 @@ define mail::opendkim::key() { group => root, creates => "/etc/opendkim/keys/${name}/mail.private", require => [ File["/etc/opendkim/keys/${name}"], Package['opendkim-tools'] ], + notify => Service['opendkim'], } } |