16 lines
275 B
Ruby

#
# Cookbook Name:: sockethub
# Recipe:: _firewall
#
unless node.chef_environment == "development"
include_recipe "kosmos-base::firewall"
firewall_rule 'sockethub' do
port node['sockethub']['external_port'].to_i
protocol :tcp
command :allow
end
end