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

@@ -134,11 +134,6 @@ end
#
# Tor hidden service
#
node.override["tor"]["HiddenServices"]["ejabberd"] = {
"HiddenServicePorts" => [
"5222 127.0.0.1:5222",
"5223 127.0.0.1:5223",
"5269 127.0.0.1:5269"
]
}
# 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"