# # 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