summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorguido <guido@bruo.org>2014-12-02 11:40:04 -0300
committerguido <guido@bruo.org>2014-12-02 12:58:50 -0300
commit172ad4bc7dd5b82629bfa776ec4164f902569fdb (patch)
tree5c05b28d34fadc99e2da952122f5790df19c7ad2 /puppet
parent77b04f641582d6995449305100b7a93d61b219d9 (diff)
Use $hostname to locate tor.key. Fixes #6478
Change-Id: Ibbe3687d5a773b444f6e9145bf235aaeea637e1d
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_webapp/manifests/hidden_service.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_webapp/manifests/hidden_service.pp b/puppet/modules/site_webapp/manifests/hidden_service.pp
index ac0e8a37..16b6e2e7 100644
--- a/puppet/modules/site_webapp/manifests/hidden_service.pp
+++ b/puppet/modules/site_webapp/manifests/hidden_service.pp
@@ -21,7 +21,7 @@ class site_webapp::hidden_service {
'/var/lib/tor/webapp/private_key':
ensure => present,
- source => '/srv/leap/files/nodes/web/tor.key',
+ source => "/srv/leap/files/nodes/${::hostname}/tor.key",
owner => 'debian-tor',
group => 'debian-tor',
mode => '0600';