Update Chef to 14.11.21 #27

Merged
greg merged 44 commits from chef_14 into master 2019-04-12 11:31:37 +00:00
2 changed files with 19 additions and 9 deletions
Showing only changes of commit e0aa4c5b11 - Show all commits

View File

@ -0,0 +1,18 @@
#
# Cookbook Name:: sockethub
# Recipe:: _firewall
#
# Copyright 2015-2019, Kosmos
#
# All rights reserved - Do Not Redistribute
Review

And one more.

And one more.
#
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

View File

@ -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']