Sanitize node configs via script, and do it automatically in a Git hook #633

Closed
raucao wants to merge 24 commits from dev/sanitize_nodes into feature/prometheus_cookbook
Showing only changes of commit 3e6faf34c4 - Show all commits
@@ -10,10 +10,10 @@ tor_service "ejabberd" do
public_key tor_services['ejabberd']['public_key']
secret_key tor_services['ejabberd']['secret_key']
# TODO configure IP from node attribute
# (This is hardcoded for draco atm)
ports [ "5222 148.251.237.73:5222",
"5223 148.251.237.73:5223",
"5269 148.251.237.73:5269" ]
# (This is hardcoded for ejabberd-4 atm)
ports [ "5222 10.1.1.113:5222",
"5223 10.1.1.113:5223",
"5269 10.1.1.113:5269" ]
end
tor_service "web" do