Merge branch 'chore/firewall_rules' of kosmos/chef into master

This commit is contained in:
gregkare 2019-04-23 09:18:57 +00:00 committed by Gitea
commit e9121f69b0
4 changed files with 8 additions and 34 deletions

View File

@ -10,7 +10,7 @@
unless node.chef_environment == "development" unless node.chef_environment == "development"
include_recipe "firewall" include_recipe "firewall"
firewall_rule "xmpp" do firewall_rule "xmpp" do
port [5222, 5269] port [5222, 5269, 5281]
protocol :tcp protocol :tcp
command :allow command :allow
end end

View File

@ -38,27 +38,3 @@ firewall_rule 'mosh' do
protocol :udp protocol :udp
command :allow command :allow
end 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

View File

@ -118,4 +118,11 @@ unless node.chef_environment == "development"
end end
nginx_certbot_site express_domain nginx_certbot_site express_domain
include_recipe "firewall"
firewall_rule 'hubot_express_botka_freenode' do
port express_port
protocol :tcp
command :allow
end
end end

View File

@ -5,15 +5,6 @@
# Copyright 2017-2018, Kosmos # 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-nodejs"
include_recipe "kosmos-redis" include_recipe "kosmos-redis"