Move the hidden service attributes to the attributes file

When it is set in the recipe the hidden service dir doesn't get set
correctly (nil), resulting in a broken torrc file
This commit is contained in:
Greg Karékinian
2019-09-11 13:47:42 +02:00
parent 79b1025836
commit 2ecc128abd
4 changed files with 16 additions and 10 deletions

View File

@@ -71,7 +71,6 @@ nginx_certbot_site server_name
#
# Tor hidden service
#
node.override["tor"]["HiddenServices"]["mastodon"] = {
"HiddenServicePorts" => ["80 127.0.0.1:80"]
}
# The attributes for the hidden service are set in attributes/default.rb, due
# to the way the tor-full cookbook builds the path to the hidden service dir
include_recipe "tor-full"