summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puppet/modules/site_tor/manifests/init.pp11
1 files changed, 6 insertions, 5 deletions
diff --git a/puppet/modules/site_tor/manifests/init.pp b/puppet/modules/site_tor/manifests/init.pp
index 654337c7..dc16f91a 100644
--- a/puppet/modules/site_tor/manifests/init.pp
+++ b/puppet/modules/site_tor/manifests/init.pp
@@ -1,15 +1,16 @@
class site_tor {
tag 'leap_service'
- $tor = hiera('tor')
+ $tor = hiera('tor')
$bandwidth_rate = $tor['bandwidth_rate']
- $tor_type = $tor['type']
+ $tor_type = $tor['type']
+ $nickname = $tor['nickname']
- $contact_email = hiera('contact_email')
- $address = hiera('ip_address')
+ $contact_email = hiera('contact_email')
+ $address = hiera('ip_address')
class { 'tor::daemon': }
- tor::daemon::relay { $::hostname:
+ tor::daemon::relay { $nickname:
port => 9001,
address => $address,
contact_info => $contact_email,