test-kitchen 2.3.2 → 2.3.3
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/Gemfile +1 -1
- data/lib/kitchen/provisioner/chef/policyfile.rb +5 -4
- data/lib/kitchen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34c410800999eeef2338cb3954d3784a13c0bc827111ef2e5a4af90b9d84be2f
|
|
4
|
+
data.tar.gz: ca8e03f5bd16c3bb89c73abc26e839c5a75299ce8fdd976f480627bce2b81cf2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70e91eeb4057e9032d4583609d80f2ca75eb5940c81e7c7e0efae0e51c2c4cd8d294b911a6862e6c4a32123caf63bbd90f721504ee2636d44d83771540e8d6a9
|
|
7
|
+
data.tar.gz: c032bc41d53cdd1486a9d2b2158d41f190b292735eb82f07ce1f957876a7af55d1dc06f12bc44be4f03b47e14e87b0f28fd5f4d660d797aef1ee23f05cbec8c1
|
data/Gemfile
CHANGED
|
@@ -65,10 +65,6 @@ module Kitchen
|
|
|
65
65
|
# Runs `chef install` to determine the correct cookbook set and
|
|
66
66
|
# generate the policyfile lock.
|
|
67
67
|
def compile
|
|
68
|
-
if always_update
|
|
69
|
-
info("Updating policy lock using `chef update`")
|
|
70
|
-
run_command("chef update #{escape_path(policyfile)}")
|
|
71
|
-
end
|
|
72
68
|
if File.exist?(lockfile)
|
|
73
69
|
info("Installing cookbooks for Policyfile #{policyfile} using `chef install`")
|
|
74
70
|
else
|
|
@@ -76,6 +72,11 @@ module Kitchen
|
|
|
76
72
|
"Policyfile #{policyfile}...")
|
|
77
73
|
end
|
|
78
74
|
run_command("chef install #{escape_path(policyfile)}")
|
|
75
|
+
|
|
76
|
+
if always_update
|
|
77
|
+
info("Updating policy lock using `chef update`")
|
|
78
|
+
run_command("chef update #{escape_path(policyfile)}")
|
|
79
|
+
end
|
|
79
80
|
end
|
|
80
81
|
|
|
81
82
|
# Return the path to the lockfile corresponding to this policyfile.
|
data/lib/kitchen/version.rb
CHANGED
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: 2.3.
|
|
4
|
+
version: 2.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fletcher Nichol
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-shellout
|