test-kitchen 1.19.0 → 1.19.1

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: e20828b8c1e7e6d38e56fd780945e80c1e2448c0
4
- data.tar.gz: 991344adaf49eb62704258bcf3caa65f0b0b3920
3
+ metadata.gz: e09ba89eadf8d48fa32dffa51c29e7673fb2e4e2
4
+ data.tar.gz: 91ce880c5f9041cb0cf64579de3b9690bcc3bd2f
5
5
  SHA512:
6
- metadata.gz: 82d95c4a38fbb60cfc50e4dd8cf52e4e767a95d33b059aa223f4cc54b5bd089e9b1dd914b1e5342c59a2f5c361b34007911df2877093a11128374e1cc0e5f488
7
- data.tar.gz: 44c4ed0d15ec894e1c9ebc2393710e11d6760083cfc3d76a4c29ce5f2dc5180601af4d889cace89fbd69abc8ebd5d92afb0980236a39904f9ee87e4405ce77e8
6
+ metadata.gz: 4ca8675cea6a5156e630eca3c742123dd390d89c27e8403017611c2f5430ec98adb34bf90f66f9c729771db66ae7848e40b88aded6a56e0a8f93d4ddd6fe7ff5
7
+ data.tar.gz: 774bb652c6112ebd7f1f85157cf34d0f79f76a340aaf022c50334d6d657f0ea23dd2a877fc5e32550603015cc65e3edfe1ded69c1bf5e730bc8785dfd2913ccc
@@ -1,7 +1,18 @@
1
1
  # Change Log
2
2
 
3
+ ## [v1.19.1](https://github.com/test-kitchen/test-kitchen/tree/v1.19.1) (2017-11-17)
4
+ [Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.19.0...v1.19.1)
5
+
6
+ **Release Notes:**
7
+
8
+ Removed an extraneous bash shebang that caused the script generated to install chef-client to fail on certain platforms.
9
+
10
+ **Merged pull requests**
11
+
12
+ - Remove extraneous bash shebang. [\#1317](https://github.com/test-kitchen/test-kitchen/pull/1317) ([rhass](https://github.com/rhass))
13
+
3
14
  ## [v1.19.0](https://github.com/test-kitchen/test-kitchen/tree/v1.19.0) (2017-11-1)
4
- [Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.17.0...v1.19.0)
15
+ [Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.18.0...v1.19.0)
5
16
 
6
17
  **Release Notes:**
7
18
 
@@ -69,6 +69,9 @@ module Kitchen
69
69
  # to ease upgrades, allow the user to turn deprecation warnings into errors
70
70
  default_config :deprecations_as_errors, false
71
71
 
72
+ # Override the default from Base so reboot handling works by default for Chef.
73
+ default_config :retry_on_exit_code, [35, 213]
74
+
72
75
  default_config :multiple_converge, 1
73
76
 
74
77
  default_config :enforce_idempotency, false
@@ -406,7 +409,6 @@ module Kitchen
406
409
  def install_from_file(command)
407
410
  install_file = "/tmp/chef-installer.sh"
408
411
  script = ["cat > #{install_file} <<\"EOL\""]
409
- script << "#!/bin/bash"
410
412
  script << command
411
413
  script << "EOL"
412
414
  script << "chmod +x #{install_file}"
@@ -17,5 +17,5 @@
17
17
  # limitations under the License.
18
18
 
19
19
  module Kitchen
20
- VERSION = "1.19.0".freeze
20
+ VERSION = "1.19.1".freeze
21
21
  end
@@ -173,6 +173,10 @@ describe Kitchen::Provisioner::ChefBase do
173
173
  it ":checksum default to nil" do
174
174
  provisioner[:checksum].must_be_nil
175
175
  end
176
+
177
+ it ":retry_on_exit_code defaults to standard values" do
178
+ provisioner[:retry_on_exit_code].must_equal [35, 213]
179
+ end
176
180
  end
177
181
 
178
182
  describe "#install_command" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-kitchen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-01 00:00:00.000000000 Z
11
+ date: 2017-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout