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:
@@ -1,2 +1,10 @@
|
||||
node.default["kosmos-ejabberd"]["version"] = "19.02"
|
||||
node.default["kosmos-ejabberd"]["checksum"] = "aea550c58e61eab04ca9beb8896d8b04f4a79321c21dee160a67ad6787236f51"
|
||||
|
||||
node.override["tor"]["HiddenServices"]["ejabberd"] = {
|
||||
"HiddenServicePorts" => [
|
||||
"5222 127.0.0.1:5222",
|
||||
"5223 127.0.0.1:5223",
|
||||
"5269 127.0.0.1:5269"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user