summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-09-25 14:29:15 +0200
committervarac <varacanero@zeromail.org>2013-09-25 14:29:15 +0200
commit20a8032ae0580356c3399976f44c13825f87093a (patch)
treedc68d15384a43d697017330b06de463e77e1f244
parente757dd2f52f3859c17f5015274299998dd9f6ba6 (diff)
openvpn is restarted before package is installed (Bug #3904)
-rw-r--r--puppet/modules/site_openvpn/manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/puppet/modules/site_openvpn/manifests/init.pp b/puppet/modules/site_openvpn/manifests/init.pp
index bf72c8d6..61fefd0a 100644
--- a/puppet/modules/site_openvpn/manifests/init.pp
+++ b/puppet/modules/site_openvpn/manifests/init.pp
@@ -167,7 +167,9 @@ class site_openvpn {
ensure => running,
hasrestart => true,
hasstatus => true,
- require => Exec['concat_/etc/default/openvpn'];
+ require => [
+ Package['openvpn'],
+ Exec['concat_/etc/default/openvpn'] ];
}
file {