diff options
author | Micah <micah@leap.se> | 2015-12-03 20:12:56 -0500 |
---|---|---|
committer | Micah <micah@leap.se> | 2015-12-03 20:12:56 -0500 |
commit | 256105ac5641b5b28cb0edff3d7437cf5f6105c7 (patch) | |
tree | f7f38762ef93f1664d8a880c5b32a6f6ed9a0dfc /puppet/modules/postfwd/manifests/init.pp | |
parent | fa90ab06aa09224d5a1fbac69c9bc0f067099206 (diff) |
Make sure /etc/default and config file are there before service is triggered (#7618)
Change-Id: Ib9fa598a94e8fd41329b1c9ed4bb52281bf04992
Diffstat (limited to 'puppet/modules/postfwd/manifests/init.pp')
-rw-r--r-- | puppet/modules/postfwd/manifests/init.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/puppet/modules/postfwd/manifests/init.pp b/puppet/modules/postfwd/manifests/init.pp index 1ebc1d53..6db3fa52 100644 --- a/puppet/modules/postfwd/manifests/init.pp +++ b/puppet/modules/postfwd/manifests/init.pp @@ -18,14 +18,15 @@ class postfwd { mode => '0644', owner => root, group => root, - require => Package['postfwd']; + before => Package['postfwd']; '/etc/postfix/postfwd.cf': content => template('postfwd/postfwd.cf.erb'), mode => '0644', owner => root, group => root, - require => Package['postfix']; + require => Package['postfix'], + before => Package['postfwd']; } service { |