Add the firewall rules for ejabberd
Includes the missing 5223 port in the andromeda_firewall recipe too
This commit is contained in:
@@ -105,3 +105,11 @@ end
|
||||
service "ejabberd" do
|
||||
action [:enable, :start]
|
||||
end
|
||||
|
||||
unless node.chef_environment == "development"
|
||||
firewall_rule 'ejabberd' do
|
||||
port [5222, 5223, 5269, 5280, 5443]
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user