summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2015-11-02 18:45:13 -0500
committerMicah <micah@leap.se>2015-11-02 21:51:16 -0500
commitea5b55fb9a4f831c586ba773205d3238e5213260 (patch)
tree0cdac89a231ac5736b42e69ef26bc497373bde8d /puppet/modules
parent7799c83ec9bf5c94b79aab89fa4fc0a6236f33d4 (diff)
fix postfwd dependency requirement
Change-Id: Ied475dd1d555a2388034012f5a799a202dcc6ee7
Diffstat (limited to 'puppet/modules')
-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 {