summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puppet/modules/postfwd/manifests/init.pp11
1 files changed, 2 insertions, 9 deletions
diff --git a/puppet/modules/postfwd/manifests/init.pp b/puppet/modules/postfwd/manifests/init.pp
index b00bb071..1ebc1d53 100644
--- a/puppet/modules/postfwd/manifests/init.pp
+++ b/puppet/modules/postfwd/manifests/init.pp
@@ -14,7 +14,7 @@ class postfwd {
file {
'/etc/default/postfwd':
- source => 'puppet:///modules/postfwd/postfwd',
+ source => 'puppet:///modules/postfwd/postfwd_default',
mode => '0644',
owner => root,
group => root,
@@ -25,14 +25,7 @@ class postfwd {
mode => '0644',
owner => root,
group => root,
- require => File['/etc/postfix'];
- }
-
- exec {
- '/etc/init.d/postfwd reload':
- refreshonly => true,
- subscribe => [ File['/etc/postfix/postfwd.cf'],
- File['/etc/default/postfwd'] ];
+ require => Package['postfix'];
}
service {