chef 13.8.3 → 13.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2019051c855875e303e9364fee1d00cc943d005
4
- data.tar.gz: 65bb85db4544ae8da657c2a9b9c735d9e5579f5c
3
+ metadata.gz: 602145c02a746434f048e21221ad0931512ddde7
4
+ data.tar.gz: aa4effeeff6eab00e050fed1b27cff2200f28685
5
5
  SHA512:
6
- metadata.gz: d7109bd2e5de772a7ff0718e8b633af048fc43529c4a03cdd93330730966387265e780d624886143e1b2b4e0e3ef66ad67de3ffffb81f0ddaa14908ce068ded1
7
- data.tar.gz: 81af8481dac237e3afc79457c0bacd933a3122ecdc823e218c3cca52af99b4b8188f496b43c224e7be36609a71a6a9c64819ffc3aaaf0d25f7e1ee36b5d4c1c9
6
+ metadata.gz: e4cf4894e931a5771c233493c49ddcf00acfa5bb07783f050ddc485ecf27624a63838dcd882655118ceeff2f5046873d0f11b7bd1bf6702813a67722959b3866
7
+ data.tar.gz: 75cf9c3c5cbfccdd6866e96375ec3f700831762f7c792db600749ec2bad570066fd0d67eb6a5af38a8b7d0a6501a7b899c391373b6e15ed27ccb8b1944f0b1df
data/Gemfile CHANGED
@@ -12,6 +12,8 @@ gem "ohai", "~> 13"
12
12
  gem "chef-config", path: File.expand_path("../chef-config", __FILE__) if File.exist?(File.expand_path("../chef-config", __FILE__))
13
13
  gem "cheffish", "~> 13" # required for rspec tests
14
14
 
15
+ # FFI crashes on EL6/7 on 1.9.22 and newer
16
+ gem "ffi", "= 1.9.21"
15
17
  group(:omnibus_package) do
16
18
  gem "appbundler"
17
19
  gem "rb-readline"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 13.8.3
1
+ 13.8.5
@@ -47,7 +47,12 @@ class Chef
47
47
  def run
48
48
  if current_cookbook_deprecated?
49
49
  message = "DEPRECATION: This cookbook has been deprecated. "
50
- message << "It has been replaced by #{replacement_cookbook}."
50
+ replacement = replacement_cookbook
51
+ if !replacement.to_s.strip.empty?
52
+ message << "It has been replaced by #{replacement}."
53
+ else
54
+ message << "No replacement has been defined."
55
+ end
51
56
  ui.warn message
52
57
 
53
58
  unless config[:force]
@@ -105,7 +110,7 @@ class Chef
105
110
  end
106
111
 
107
112
  def replacement_cookbook
108
- File.basename(current_cookbook_data["replacement"])
113
+ File.basename(current_cookbook_data["replacement"] || "")
109
114
  end
110
115
 
111
116
  def specific_cookbook_version_url
@@ -23,7 +23,7 @@ require "chef/version_string"
23
23
 
24
24
  class Chef
25
25
  CHEF_ROOT = File.expand_path("../..", __FILE__)
26
- VERSION = Chef::VersionString.new("13.8.3")
26
+ VERSION = Chef::VersionString.new("13.8.5")
27
27
  end
28
28
 
29
29
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.8.3
4
+ version: 13.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-02 00:00:00.000000000 Z
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.8.3
19
+ version: 13.8.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 13.8.3
26
+ version: 13.8.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement