summaryrefslogtreecommitdiff
path: root/puppet/modules/site_openvpn/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-09-18 12:05:10 -0400
committerMicah Anderson <micah@leap.se>2013-09-18 22:13:26 -0400
commit3388336b57cc59617b6dc8380beeeacfdb2fb5b3 (patch)
tree7ac6bd8ed957754c7b23ff422dfeaff528e99417 /puppet/modules/site_openvpn/manifests
parentca3f34da520ff835d383aa82f528adf927d3364f (diff)
Setup a class dependency for every tag 'leap_service' to make sure that shorewall is setup before the service is setup. This is necessary due to the strict initial firewall that stops various service setup operations from happening, but is relaxed once shorewall is setup properly (#3782)
Change-Id: Ia9640c4118aa0053cdb99e7bc11860fed5527501
Diffstat (limited to 'puppet/modules/site_openvpn/manifests')
-rw-r--r--puppet/modules/site_openvpn/manifests/init.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/modules/site_openvpn/manifests/init.pp b/puppet/modules/site_openvpn/manifests/init.pp
index b2bb0d3a..fe5ef87f 100644
--- a/puppet/modules/site_openvpn/manifests/init.pp
+++ b/puppet/modules/site_openvpn/manifests/init.pp
@@ -20,6 +20,8 @@
class site_openvpn {
tag 'leap_service'
+ Class['site_config::default'] -> Class['site_openvpn']
+
$openvpn_config = hiera('openvpn')
$x509_config = hiera('x509')
$openvpn_ports = $openvpn_config['ports']