Merge branch 'chore/firewall_rules' of kosmos/chef into master
This commit is contained in:
commit
e9121f69b0
@ -10,7 +10,7 @@
|
||||
unless node.chef_environment == "development"
|
||||
include_recipe "firewall"
|
||||
firewall_rule "xmpp" do
|
||||
port [5222, 5269]
|
||||
port [5222, 5269, 5281]
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
|
@ -38,27 +38,3 @@ firewall_rule 'mosh' do
|
||||
protocol :udp
|
||||
command :allow
|
||||
end
|
||||
|
||||
firewall_rule 'prosody_http_upload' do
|
||||
port 5281
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
|
||||
firewall_rule 'hubot_express_hal8000' do
|
||||
port 8080
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
|
||||
firewall_rule 'hubot_express_botka_xmpp' do
|
||||
port 8082
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
|
||||
firewall_rule 'hubot_express_schlupp_xmpp' do
|
||||
port 8083
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
|
@ -118,4 +118,11 @@ unless node.chef_environment == "development"
|
||||
end
|
||||
|
||||
nginx_certbot_site express_domain
|
||||
|
||||
include_recipe "firewall"
|
||||
firewall_rule 'hubot_express_botka_freenode' do
|
||||
port express_port
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
end
|
||||
|
@ -5,15 +5,6 @@
|
||||
# Copyright 2017-2018, Kosmos
|
||||
#
|
||||
|
||||
unless node.chef_environment == "development"
|
||||
include_recipe 'firewall'
|
||||
firewall_rule 'hubot_express_hal8000_freenode' do
|
||||
port 8080
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
end
|
||||
|
||||
include_recipe "kosmos-nodejs"
|
||||
include_recipe "kosmos-redis"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user