diff options
author | Micah <micah@leap.se> | 2016-06-23 12:05:29 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-06-28 13:08:02 -0400 |
commit | 4cf9b7d34fce1c37d3b4bb16e62f078df642263b (patch) | |
tree | 5a1d9f11c8b98347070167e9cc06c3dfc0f625e1 /puppet/modules/site_webapp | |
parent | 9f2a4f859f42895969d96c25ac9941ff95a28d1f (diff) |
Stop tor from restarting on every deploy (#8211).
We were creating the hidden service name without a newline, and then tor
would be restarted and change the hidden service hostname file to have a
newline, which would then require that the next deploy would change that
file to not have a newline again.
This fixes that problem by making the hostname have a newline so it
matches what tor wants.
Change-Id: I38f450684d557cf943ec94f2f8e19cda3aefdf66
Diffstat (limited to 'puppet/modules/site_webapp')
-rw-r--r-- | puppet/modules/site_webapp/manifests/hidden_service.pp | 2 |
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 ffc9888d..d2662b65 100644 --- a/puppet/modules/site_webapp/manifests/hidden_service.pp +++ b/puppet/modules/site_webapp/manifests/hidden_service.pp @@ -30,7 +30,7 @@ class site_webapp::hidden_service { '/var/lib/tor/webapp/hostname': ensure => present, - content => $tor_domain, + content => "${tor_domain}\n", owner => 'debian-tor', group => 'debian-tor', mode => '0600', |