summaryrefslogtreecommitdiff
path: root/puppet/modules/site_tor/manifests/init.pp
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_tor/manifests/init.pp
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_tor/manifests/init.pp')
-rw-r--r--puppet/modules/site_tor/manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_tor/manifests/init.pp b/puppet/modules/site_tor/manifests/init.pp
index ac830f0d..16ee4c30 100644
--- a/puppet/modules/site_tor/manifests/init.pp
+++ b/puppet/modules/site_tor/manifests/init.pp
@@ -1,6 +1,7 @@
class site_tor {
tag 'leap_service'
-
+ Class['site_config::default'] -> Class['site_tor']
+
$tor = hiera('tor')
$bandwidth_rate = $tor['bandwidth_rate']
$tor_type = $tor['type']