chef 13.8.0 → 13.8.3

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: 4cf91005817c8edd084d2eef52e54b9a320c79e8
4
- data.tar.gz: d64f227f12314884d0f77a6a16fac2465251cd1c
3
+ metadata.gz: f2019051c855875e303e9364fee1d00cc943d005
4
+ data.tar.gz: 65bb85db4544ae8da657c2a9b9c735d9e5579f5c
5
5
  SHA512:
6
- metadata.gz: 6593a7a47e0e16c9bae832c21f7fe19eab191fb005160f8094b88303a42bb8c0709e806c9d35a18ae15155782b1936454c58ec426089c995ceafe8fd95442da6
7
- data.tar.gz: 802c38b93e6acf6e95961f854aa14ae65eed72f8d4b64b4dd80ba7835812b87ae3239ee657cb2f501ff40987ae872908cb2106c7451e98b06f8dca1aaeed7f74
6
+ metadata.gz: d7109bd2e5de772a7ff0718e8b633af048fc43529c4a03cdd93330730966387265e780d624886143e1b2b4e0e3ef66ad67de3ffffb81f0ddaa14908ce068ded1
7
+ data.tar.gz: 81af8481dac237e3afc79457c0bacd933a3122ecdc823e218c3cca52af99b4b8188f496b43c224e7be36609a71a6a9c64819ffc3aaaf0d25f7e1ee36b5d4c1c9
data/Gemfile CHANGED
@@ -15,7 +15,7 @@ gem "cheffish", "~> 13" # required for rspec tests
15
15
  group(:omnibus_package) do
16
16
  gem "appbundler"
17
17
  gem "rb-readline"
18
- gem "inspec"
18
+ gem "inspec", "~> 1"
19
19
  gem "chef-vault"
20
20
  end
21
21
 
@@ -52,10 +52,7 @@ group(:development, :test) do
52
52
  gem "rake"
53
53
  gem "simplecov"
54
54
  gem "webmock"
55
-
56
- # for testing new chefstyle rules
57
- # gem 'chefstyle', github: 'chef/chefstyle'
58
- gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
55
+ gem "chefstyle", "0.6.0"
59
56
  end
60
57
 
61
58
  group(:travis) do
data/VERSION CHANGED
@@ -1 +1 @@
1
- 13.8.0
1
+ 13.8.3
@@ -182,7 +182,7 @@ class Chef
182
182
  config_loader.profile = profile
183
183
  config_loader.load
184
184
 
185
- ui.warn("No knife configuration file found") if config_loader.no_config_found?
185
+ ui.warn("No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.") if config_loader.no_config_found?
186
186
 
187
187
  config_loader
188
188
  rescue Exceptions::ConfigurationError => e
@@ -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.0")
26
+ VERSION = Chef::VersionString.new("13.8.3")
27
27
  end
28
28
 
29
29
  #
@@ -242,7 +242,7 @@ EOM
242
242
  it "knife deps --tree prints each once" do
243
243
  knife("deps --tree /roles/foo.json /roles/self.json") do
244
244
  expect(stdout).to eq("/roles/foo.json\n /roles/bar.json\n /roles/baz.json\n /roles/foo.json\n/roles/self.json\n /roles/self.json\n")
245
- expect(stderr).to eq("WARNING: No knife configuration file found\n")
245
+ expect(stderr).to eq("WARNING: No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.\n")
246
246
  end
247
247
  end
248
248
  end
@@ -580,7 +580,7 @@ EOM
580
580
  it "knife deps --tree prints each once" do
581
581
  knife("deps --remote --tree /roles/foo.json /roles/self.json") do
582
582
  expect(stdout).to eq("/roles/foo.json\n /roles/bar.json\n /roles/baz.json\n /roles/foo.json\n/roles/self.json\n /roles/self.json\n")
583
- expect(stderr).to eq("WARNING: No knife configuration file found\n")
583
+ expect(stderr).to eq("WARNING: No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.\n")
584
584
  end
585
585
  end
586
586
  end
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Jay Mundrawala (<jdm@chef.io>)
3
- # Copyright:: Copyright 2015-2016, Chef Software, Inc.
3
+ # Copyright:: Copyright 2015-2017, Chef Software Inc.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -64,14 +64,15 @@ describe Chef::Mixin::PowershellTypeCoercions do
64
64
  end
65
65
 
66
66
  it "translates a Chef::Node::ImmutableMash like a hash" do
67
- test_mash = Chef::Node::ImmutableMash.new({ "a" => 1, "b" => 1.2,
68
- "c" => false, "d" => true })
69
- expect(test_class.translate_type(test_mash)).to eq("@{a=1;b=1.2;c=$false;d=$true}")
67
+ node = Chef::Node.new
68
+ node.default[:test] = { "a" => 1, "b" => 1.2, "c" => false, "d" => true }
69
+ expect(test_class.translate_type(node[:test])).to eq("@{a=1;b=1.2;c=$false;d=$true}")
70
70
  end
71
71
 
72
72
  it "translates a Chef::Node::ImmutableArray like an array" do
73
- test_array = Chef::Node::ImmutableArray.new([true, false])
74
- expect(test_class.translate_type(test_array)).to eq("@($true,$false)")
73
+ node = Chef::Node.new
74
+ node.default[:test] = [ true, false ]
75
+ expect(test_class.translate_type(node[:test])).to eq("@($true,$false)")
75
76
  end
76
77
 
77
78
  it "falls back :to_psobject if we have not defined at explicit rule" do
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.0
4
+ version: 13.8.3
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-02-23 00:00:00.000000000 Z
11
+ date: 2018-03-02 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.0
19
+ version: 13.8.3
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.0
26
+ version: 13.8.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement