test-kitchen 1.3.0 → 1.3.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/.travis.yml +16 -0
- data/CHANGELOG.md +18 -2
- data/README.md +6 -6
- data/lib/kitchen/provisioner/chef_base.rb +2 -2
- data/lib/kitchen/version.rb +1 -1
- data/spec/kitchen/provisioner/chef_base_spec.rb +7 -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: 665e48e9f78d624f8aa062b4ca790ebca42acaf4
|
|
4
|
+
data.tar.gz: b962301704633bb76408ae13ad354cbbee216371
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9b4dc5ae5d985f1674c65b9823cf1f0979f731aadbea863c565e057e93147c2d62ef7650afcb8db361f0c3557ad4647a991ac7095878ef26790c6ec1ee86909
|
|
7
|
+
data.tar.gz: 18e1cbc9626ab891381425303685f9525791f9313d2a1dbbb3df002d061cebaf6b1f8898ab8ce19994ba5d8fe2d3e7aee2e9cfc4d91939152f339b3d3e3d3c8f
|
data/.travis.yml
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
|
|
3
3
|
rvm:
|
|
4
|
+
- 2.2
|
|
4
5
|
- 2.1
|
|
5
6
|
- 2.0.0
|
|
6
7
|
- 1.9.3
|
|
@@ -8,6 +9,7 @@ rvm:
|
|
|
8
9
|
|
|
9
10
|
env:
|
|
10
11
|
- RUBYGEMS_VERSION=
|
|
12
|
+
- RUBYGEMS_VERSION=2.4.5
|
|
11
13
|
- RUBYGEMS_VERSION=2.2.2
|
|
12
14
|
- RUBYGEMS_VERSION=2.1.11
|
|
13
15
|
- RUBYGEMS_VERSION=2.0.14
|
|
@@ -25,10 +27,24 @@ matrix:
|
|
|
25
27
|
allow_failures:
|
|
26
28
|
- rvm: ruby-head
|
|
27
29
|
exclude:
|
|
30
|
+
- rvm: 2.2
|
|
31
|
+
env: RUBYGEMS_VERSION=2.2.2
|
|
32
|
+
- rvm: 2.2
|
|
33
|
+
env: RUBYGEMS_VERSION=2.1.11
|
|
34
|
+
- rvm: 2.2
|
|
35
|
+
env: RUBYGEMS_VERSION=2.0.14
|
|
36
|
+
- rvm: 2.2
|
|
37
|
+
env: RUBYGEMS_VERSION=1.8.29
|
|
28
38
|
- rvm: 2.1
|
|
29
39
|
env: RUBYGEMS_VERSION=1.8.29
|
|
30
40
|
- rvm: 2.0.0
|
|
31
41
|
env: RUBYGEMS_VERSION=1.8.29
|
|
42
|
+
- rvm: ruby-head
|
|
43
|
+
env: RUBYGEMS_VERSION=2.2.2
|
|
44
|
+
- rvm: ruby-head
|
|
45
|
+
env: RUBYGEMS_VERSION=2.1.11
|
|
46
|
+
- rvm: ruby-head
|
|
47
|
+
env: RUBYGEMS_VERSION=2.0.14
|
|
32
48
|
- rvm: ruby-head
|
|
33
49
|
env: RUBYGEMS_VERSION=1.8.29
|
|
34
50
|
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
## 1.3.
|
|
1
|
+
## 1.3.1 / 2015-01-16
|
|
2
|
+
|
|
3
|
+
### Bug fixes
|
|
4
|
+
|
|
5
|
+
* Pull request [#581][], issue [#580][]: Fix omnibus install argument passing bug with missing space character. ([@fnichol][], [@tknerr][])
|
|
6
|
+
|
|
7
|
+
### Improvements
|
|
8
|
+
|
|
9
|
+
* Pull request [#579][]: Update README.md badges to use SVG. ([@miketheman][])
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## 1.3.0 / 2015-01-15
|
|
2
13
|
|
|
3
14
|
### Upstream changes
|
|
4
15
|
|
|
@@ -561,6 +572,9 @@ The initial release.
|
|
|
561
572
|
[#557]: https://github.com/test-kitchen/test-kitchen/issues/557
|
|
562
573
|
[#558]: https://github.com/test-kitchen/test-kitchen/issues/558
|
|
563
574
|
[#567]: https://github.com/test-kitchen/test-kitchen/issues/567
|
|
575
|
+
[#579]: https://github.com/test-kitchen/test-kitchen/issues/579
|
|
576
|
+
[#580]: https://github.com/test-kitchen/test-kitchen/issues/580
|
|
577
|
+
[#581]: https://github.com/test-kitchen/test-kitchen/issues/581
|
|
564
578
|
[@ChrisLundquist]: https://github.com/ChrisLundquist
|
|
565
579
|
[@MarkGibbons]: https://github.com/MarkGibbons
|
|
566
580
|
[@adamhjk]: https://github.com/adamhjk
|
|
@@ -604,6 +618,7 @@ The initial release.
|
|
|
604
618
|
[@mconigliaro]: https://github.com/mconigliaro
|
|
605
619
|
[@mcquin]: https://github.com/mcquin
|
|
606
620
|
[@michaelkirk]: https://github.com/michaelkirk
|
|
621
|
+
[@miketheman]: https://github.com/miketheman
|
|
607
622
|
[@mthssdrbrg]: https://github.com/mthssdrbrg
|
|
608
623
|
[@oferrigni]: https://github.com/oferrigni
|
|
609
624
|
[@patcon]: https://github.com/patcon
|
|
@@ -627,4 +642,5 @@ The initial release.
|
|
|
627
642
|
[@srenatus]: https://github.com/srenatus
|
|
628
643
|
[@stevendanna]: https://github.com/stevendanna
|
|
629
644
|
[@thommay]: https://github.com/thommay
|
|
630
|
-
[@
|
|
645
|
+
[@tknerr]: https://github.com/tknerr
|
|
646
|
+
[@zts]: https://github.com/zts
|
data/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Test Kitchen
|
|
2
2
|
|
|
3
|
-
[](http://badge.fury.io/rb/test-kitchen)
|
|
4
|
+
[](https://travis-ci.org/test-kitchen/test-kitchen)
|
|
5
|
+
[](https://codeclimate.com/github/test-kitchen/test-kitchen)
|
|
6
|
+
[](https://codeclimate.com/github/test-kitchen/test-kitchen)
|
|
7
|
+
[](https://gemnasium.com/test-kitchen/test-kitchen)
|
|
8
|
+
[](http://inch-ci.org/github/test-kitchen/test-kitchen)
|
|
9
9
|
|
|
10
10
|
| | |
|
|
11
11
|
|-------------|-----------------------------------------------|
|
|
@@ -157,14 +157,14 @@ module Kitchen
|
|
|
157
157
|
end
|
|
158
158
|
install_flags = %w[latest true].include?(version) ? "" : "-v #{version}"
|
|
159
159
|
if config[:chef_omnibus_install_options]
|
|
160
|
-
install_flags
|
|
160
|
+
install_flags << " " << config[:chef_omnibus_install_options]
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
<<-INSTALL.gsub(/^ {10}/, "")
|
|
164
164
|
if should_update_chef "#{config[:chef_omnibus_root]}" "#{version}" ; then
|
|
165
165
|
echo "-----> Installing Chef Omnibus (#{pretty_version})"
|
|
166
166
|
do_download #{config[:chef_omnibus_url]} /tmp/install.sh
|
|
167
|
-
#{sudo("sh")} /tmp/install.sh #{install_flags}
|
|
167
|
+
#{sudo("sh")} /tmp/install.sh #{install_flags.strip}
|
|
168
168
|
else
|
|
169
169
|
echo "-----> Chef Omnibus installation detected (#{pretty_version})"
|
|
170
170
|
fi
|
data/lib/kitchen/version.rb
CHANGED
|
@@ -200,6 +200,13 @@ describe Kitchen::Provisioner::ChefBase do
|
|
|
200
200
|
"Installing Chef Omnibus (install only if missing)", :partial_line)
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
+
it "will pass install options and version info, when given" do
|
|
204
|
+
config[:require_chef_omnibus] = "11"
|
|
205
|
+
config[:chef_omnibus_install_options] = "-d /tmp/place"
|
|
206
|
+
|
|
207
|
+
provisioner.install_command.must_match regexify(
|
|
208
|
+
"sudo -E sh /tmp/install.sh -v 11 -d /tmp/place")
|
|
209
|
+
end
|
|
203
210
|
end
|
|
204
211
|
|
|
205
212
|
describe "#init_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.3.
|
|
4
|
+
version: 1.3.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: 2015-01-
|
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-shellout
|