Merge branch 'master' into feature/api_permissions

This commit is contained in:
2020-12-10 13:26:48 +00:00
41 changed files with 846 additions and 112 deletions

View File

@@ -225,35 +225,7 @@ service "ejabberd" do
end
unless node.chef_environment == "development"
firewall_rule 'ejabberd' do
port [5222, 5223, 5269, 5443]
protocol :tcp
command :allow
end
firewall_rule 'ejabberd_cluster' do
port [4369]
protocol :tcp
command :allow
end
firewall_rule 'erlang_cluster' do
port [4200..4210]
protocol :tcp
command :allow
end
firewall_rule 'ejabberd_stun_turn' do
port 3478
protocol :tcp
command :allow
end
firewall_rule 'ejabberd_turn' do
port node["kosmos-ejabberd"]["turn_min_port"]..node["kosmos-ejabberd"]["turn_max_port"]
protocol :tcp
command :allow
end
include_recipe "kosmos-ejabberd::firewall"
end
#