Move the firewall rule for sockethub to its own recipe
This commit is contained in:
@@ -7,15 +7,7 @@
|
||||
# All rights reserved - Do Not Redistribute
|
||||
#
|
||||
|
||||
unless node.chef_environment == "development"
|
||||
include_recipe "firewall"
|
||||
firewall_rule 'sockethub' do
|
||||
port node['sockethub']['external_port'].to_i
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
end
|
||||
|
||||
include_recipe 'sockethub::_firewall'
|
||||
include_recipe 'kosmos-nginx'
|
||||
server_name = node['sockethub']['nginx']['server_name']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user