Skip to content

Commit

Permalink
Update chef-client to 14.4.56
Browse files Browse the repository at this point in the history
This eliminates the need for the openssl cookbook, which slims down chef-server a small bit.

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Sep 5, 2018
1 parent d0cf9b9 commit bf5d184
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
end

depends 'enterprise' # grabbed via Berkshelf + Git
depends 'openssl', '>= 4.4'

chef_version '>= 14'
chef_version '>= 14.4'
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"DNS"
end

openssl_x509 ssl_crtfile do
openssl_x509_certificate ssl_crtfile do
common_name server_name
org node['private_chef']['nginx']['ssl_company_name']
org_unit node['private_chef']['nginx']['ssl_organizational_unit_name']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def mutate_chef_config
Chef::Config[:solo_legacy_mode] = true
end


def my_node
@my_node ||= my_client.build_node
end
Expand Down
4 changes: 2 additions & 2 deletions omnibus_overrides.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
override :erlang, version: "18.3"
override :lua, version: "5.1.5"
override :'omnibus-ctl', version: "master"
override :chef, version: "v14.3.0"
override :ohai, version: "v14.3.0"
override :chef, version: "v14.4.56"
override :ohai, version: "v14.4.2"
override :ruby, version: "2.5.1"
override :rubygems, version: "2.7.7"
# This SHA is the last commit before the 6.0 release
Expand Down
2 changes: 1 addition & 1 deletion src/chef-server-ctl/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

gemspec

gem "chef", '~>14.3.0'
gem "chef", '~>14.4.0'
gem "chef_backup", git: "https://github.com/chef/chef_backup.git"
gem "omnibus-ctl", git: "https://github.com/chef/omnibus-ctl.git"
gem "toml" # for habitat-land
2 changes: 1 addition & 1 deletion src/chef-server-ctl/Gemfile.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
gem 'chef', '~>14.3.0'
gem 'chef', '~>14.4.0'
gem 'json', '~>2.0'
48 changes: 24 additions & 24 deletions src/chef-server-ctl/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PATH
specs:
chef-server-ctl (1.0.0)
appbundler
chef (~> 14.3.0)
chef (~> 14.4.0)
chef_backup
ffi-yajl (>= 1.2.0)
highline (~> 1.6, >= 1.6.9)
Expand All @@ -43,38 +43,38 @@ GEM
ast (2.4.0)
bcrypt (3.1.12)
builder (3.2.3)
chef (14.3.37)
chef (14.4.56)
addressable
bundler (>= 1.10)
chef-config (= 14.3.37)
chef-config (= 14.4.56)
chef-zero (>= 13.0)
diff-lcs (~> 1.2, >= 1.2.4)
erubis (~> 2.7)
ffi (~> 1.9, >= 1.9.25)
ffi-yajl (~> 2.2)
highline (~> 1.6, >= 1.6.9)
iniparse (~> 1.4)
iso8601 (~> 0.9.1)
iso8601 (~> 0.11.0)
mixlib-archive (~> 0.4)
mixlib-authentication (~> 2.1)
mixlib-cli (~> 1.7)
mixlib-log (~> 2.0, >= 2.0.3)
mixlib-shellout (~> 2.0)
mixlib-shellout (~> 2.4)
net-sftp (~> 2.1, >= 2.1.2)
net-ssh (~> 4.2)
net-ssh-multi (~> 1.2, >= 1.2.1)
ohai (~> 14.0)
plist (~> 3.2)
proxifier (~> 1.0)
rspec-core (~> 3.5)
rspec-expectations (~> 3.5)
rspec-mocks (~> 3.5)
rspec-core (~> 3.5, < 3.8)
rspec-expectations (~> 3.5, < 3.8)
rspec-mocks (~> 3.5, < 3.8)
rspec_junit_formatter (~> 0.2.0)
serverspec (~> 2.7)
specinfra (~> 2.10)
syslog-logger (~> 1.6)
uuidtools (~> 2.1.5)
chef-config (14.3.37)
chef-config (14.4.56)
addressable
fuzzyurl
mixlib-config (>= 2.2.12, < 3.0)
Expand All @@ -97,27 +97,27 @@ GEM
ffi-yajl (2.3.1)
libyajl2 (~> 1.2)
fuzzyurl (0.9.0)
hashie (3.5.7)
hashie (3.6.0)
highline (1.7.10)
http-cookie (1.0.3)
domain_name (~> 0.5)
iniparse (1.4.4)
ipaddress (0.8.3)
iso8601 (0.9.1)
iso8601 (0.11.0)
knife-opc (0.4.0)
libyajl2 (1.2.0)
method_source (0.9.0)
mime-types (3.1)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mixlib-archive (0.4.8)
mime-types-data (3.2018.0812)
mixlib-archive (0.4.16)
mixlib-log
mixlib-authentication (2.1.1)
mixlib-cli (1.7.0)
mixlib-config (2.2.13)
tomlrb
mixlib-log (2.0.4)
mixlib-shellout (2.3.2)
mixlib-shellout (2.4.0)
multi_json (1.13.1)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
Expand All @@ -129,14 +129,14 @@ GEM
net-ssh-multi (1.2.1)
net-ssh (>= 2.6.5)
net-ssh-gateway (>= 1.2.0)
net-telnet (0.1.1)
net-telnet (0.2.0)
netrc (0.11.0)
ohai (14.3.0)
ohai (14.4.2)
chef-config (>= 12.8, < 15)
ffi (~> 1.9)
ffi-yajl (~> 2.2)
ipaddress
mixlib-cli
mixlib-cli (>= 1.7.0)
mixlib-config (~> 2.0)
mixlib-log (~> 2.0, >= 2.0.1)
mixlib-shellout (~> 2.0)
Expand All @@ -155,12 +155,12 @@ GEM
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (3.0.2)
public_suffix (3.0.3)
rack (2.0.5)
rainbow (3.0.0)
rake (12.3.1)
rb-readline (0.5.5)
redis (4.0.1)
redis (4.0.2)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
Expand Down Expand Up @@ -192,14 +192,14 @@ GEM
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.9.0)
sequel (5.10.0)
sequel (5.12.0)
serverspec (2.41.3)
multi_json
rspec (~> 3.0)
rspec-its
specinfra (~> 2.72)
sfl (2.3)
specinfra (2.75.0)
specinfra (2.76.1)
net-scp
net-ssh (>= 2.7)
net-telnet
Expand All @@ -224,7 +224,7 @@ PLATFORMS

DEPENDENCIES
bundler
chef
chef (~> 14.4.0)
chef-server-ctl!
chef_backup!
chefstyle
Expand All @@ -234,4 +234,4 @@ DEPENDENCIES
toml

BUNDLED WITH
1.16.1
1.16.4
2 changes: 1 addition & 1 deletion src/chef-server-ctl/chef-server-ctl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "chef_backup" # Gemfile has us getting latest from git
spec.add_runtime_dependency "omnibus-ctl" # Gemfile has us getting latest from git

spec.add_runtime_dependency "chef", "~> 14.3.0"
spec.add_runtime_dependency "chef", "~> 14.4.0"
spec.add_runtime_dependency "appbundler"

spec.add_development_dependency "chefstyle"
Expand Down
2 changes: 1 addition & 1 deletion src/chef-server-ctl/habitat/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ do_install() {

cat > Gemfile << EOF
source 'https://rubygems.org'
gem 'chef', '~>14.3.0'
gem 'chef', '~>14.4.0'
gem 'knife-opc'
EOF

Expand Down

0 comments on commit bf5d184

Please sign in to comment.