test-kitchen 1.19.0 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/lib/kitchen/provisioner/chef_base.rb +3 -1
- data/lib/kitchen/version.rb +1 -1
- data/spec/kitchen/provisioner/chef_base_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e09ba89eadf8d48fa32dffa51c29e7673fb2e4e2
|
|
4
|
+
data.tar.gz: 91ce880c5f9041cb0cf64579de3b9690bcc3bd2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ca8675cea6a5156e630eca3c742123dd390d89c27e8403017611c2f5430ec98adb34bf90f66f9c729771db66ae7848e40b88aded6a56e0a8f93d4ddd6fe7ff5
|
|
7
|
+
data.tar.gz: 774bb652c6112ebd7f1f85157cf34d0f79f76a340aaf022c50334d6d657f0ea23dd2a877fc5e32550603015cc65e3edfe1ded69c1bf5e730bc8785dfd2913ccc
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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}"
|
data/lib/kitchen/version.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2017-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-shellout
|