chef-dk 0.16.28 → 0.17.17
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 +2 -5
- data/Gemfile.lock +86 -83
- data/acceptance/Gemfile.lock +21 -18
- data/chef-dk.gemspec +1 -1
- data/lib/chef-dk/skeletons/code_generator/files/default/chefignore +5 -0
- data/lib/chef-dk/skeletons/code_generator/files/default/delivery-project.toml +5 -2
- data/lib/chef-dk/skeletons/code_generator/recipes/cookbook_file.rb +1 -1
- data/lib/chef-dk/skeletons/code_generator/templates/default/build_cookbook/Berksfile.erb +0 -11
- data/lib/chef-dk/skeletons/code_generator/templates/default/kitchen.yml.erb +3 -0
- data/lib/chef-dk/skeletons/code_generator/templates/default/kitchen_policyfile.yml.erb +3 -0
- data/lib/chef-dk/skeletons/code_generator/templates/default/metadata.rb.erb +8 -0
- data/lib/chef-dk/version.rb +1 -1
- data/spec/unit/command/generator_commands/cookbook_spec.rb +12 -12
- data/spec/unit/command/shell_init_spec.rb +14 -2
- data/tasks/github_changelog_generator.rb +2 -0
- metadata +3 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e87c2780a2527adbfbf2398f04c21071e17d444c
|
|
4
|
+
data.tar.gz: 9e909f8c26214c9fbe273ef9a3e0aa89fd5ebae2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 455bf41016fa0f77bf4a6e6cc9ff119a9773bc2722e0cfaf2944438ec47a81844b0c016c0e70cb549f30f4c8978f1c7d8738ea5d6db592cf11ecaa453db97645
|
|
7
|
+
data.tar.gz: 8401c1c5f28495efc09578a696ea290c9015029ae828464d84a541b181f9e945abbbff9fab5b2efe74b50615fe934391a7dfe9a978cff3f3f3f8ec55732a2538
|
data/Gemfile
CHANGED
|
@@ -27,9 +27,6 @@ gem "chef-dk", path: "."
|
|
|
27
27
|
# EXPERIMENTAL: ALL gems specified here will be installed in chef-dk omnibus.
|
|
28
28
|
# This represents all gems that will be part of chef-dk.
|
|
29
29
|
|
|
30
|
-
# TODO remove this when we update Chef to use the new api exposed in 3.5.1
|
|
31
|
-
gem "rspec-core", "= 3.4.4"
|
|
32
|
-
|
|
33
30
|
group(:omnibus_package, :development, :test) do
|
|
34
31
|
gem "pry"
|
|
35
32
|
gem "rake"
|
|
@@ -55,7 +52,7 @@ group(:omnibus_package) do
|
|
|
55
52
|
gem "chef-provisioning-vagrant", ">= 0.11.0"
|
|
56
53
|
gem "chef-vault"
|
|
57
54
|
# The chef version is pinned by "rake dependencies", which grabs the current version from omnibus.
|
|
58
|
-
gem "chef", github: "chef/chef", branch: "v12.
|
|
55
|
+
gem "chef", github: "chef/chef", branch: "v12.13.37"
|
|
59
56
|
gem "cheffish", ">= 2.0.3"
|
|
60
57
|
gem "chefspec"
|
|
61
58
|
gem "fauxhai"
|
|
@@ -80,7 +77,7 @@ group(:omnibus_package) do
|
|
|
80
77
|
gem "mixlib-versioning"
|
|
81
78
|
gem "artifactory"
|
|
82
79
|
# The opscode-pushy-client version is pinned by "rake dependencies", which grabs the current version from omnibus.
|
|
83
|
-
gem "opscode-pushy-client", github: "chef/opscode-pushy-client", branch: "2.1.
|
|
80
|
+
gem "opscode-pushy-client", github: "chef/opscode-pushy-client", branch: "2.1.1"
|
|
84
81
|
gem "ffi-rzmq-core"
|
|
85
82
|
gem "knife-push"
|
|
86
83
|
|
data/Gemfile.lock
CHANGED
|
@@ -7,20 +7,21 @@ GIT
|
|
|
7
7
|
|
|
8
8
|
GIT
|
|
9
9
|
remote: git://github.com/chef/chef.git
|
|
10
|
-
revision:
|
|
11
|
-
branch: v12.
|
|
10
|
+
revision: 3c3b48fe740846c429370d62489bfb8ecdfdff28
|
|
11
|
+
branch: v12.13.37
|
|
12
12
|
specs:
|
|
13
|
-
chef (12.
|
|
13
|
+
chef (12.13.37)
|
|
14
14
|
bundler (>= 1.10)
|
|
15
|
-
chef-config (= 12.
|
|
16
|
-
chef-zero (~> 4.
|
|
15
|
+
chef-config (= 12.13.37)
|
|
16
|
+
chef-zero (~> 4.8)
|
|
17
17
|
diff-lcs (~> 1.2, >= 1.2.4)
|
|
18
18
|
erubis (~> 2.7)
|
|
19
19
|
ffi-yajl (~> 2.2)
|
|
20
20
|
highline (~> 1.6, >= 1.6.9)
|
|
21
21
|
iniparse (~> 1.4)
|
|
22
|
+
mixlib-archive (>= 0.2.0)
|
|
22
23
|
mixlib-authentication (~> 1.4)
|
|
23
|
-
mixlib-cli (~> 1.
|
|
24
|
+
mixlib-cli (~> 1.7)
|
|
24
25
|
mixlib-log (~> 1.3)
|
|
25
26
|
mixlib-shellout (~> 2.0)
|
|
26
27
|
net-sftp (~> 2.1, >= 2.1.2)
|
|
@@ -29,26 +30,27 @@ GIT
|
|
|
29
30
|
ohai (>= 8.6.0.alpha.1, < 9)
|
|
30
31
|
plist (~> 3.2)
|
|
31
32
|
proxifier (~> 1.0)
|
|
32
|
-
rspec-core (~> 3.
|
|
33
|
-
rspec-expectations (~> 3.
|
|
34
|
-
rspec-mocks (~> 3.
|
|
33
|
+
rspec-core (~> 3.5)
|
|
34
|
+
rspec-expectations (~> 3.5)
|
|
35
|
+
rspec-mocks (~> 3.5)
|
|
35
36
|
rspec_junit_formatter (~> 0.2.0)
|
|
36
37
|
serverspec (~> 2.7)
|
|
37
38
|
specinfra (~> 2.10)
|
|
38
39
|
syslog-logger (~> 1.6)
|
|
39
40
|
uuidtools (~> 2.1.5)
|
|
40
|
-
chef (12.
|
|
41
|
+
chef (12.13.37-universal-mingw32)
|
|
41
42
|
bundler (>= 1.10)
|
|
42
|
-
chef-config (= 12.
|
|
43
|
-
chef-zero (~> 4.
|
|
43
|
+
chef-config (= 12.13.37)
|
|
44
|
+
chef-zero (~> 4.8)
|
|
44
45
|
diff-lcs (~> 1.2, >= 1.2.4)
|
|
45
46
|
erubis (~> 2.7)
|
|
46
47
|
ffi (~> 1.9)
|
|
47
48
|
ffi-yajl (~> 2.2)
|
|
48
49
|
highline (~> 1.6, >= 1.6.9)
|
|
49
50
|
iniparse (~> 1.4)
|
|
51
|
+
mixlib-archive (>= 0.2.0)
|
|
50
52
|
mixlib-authentication (~> 1.4)
|
|
51
|
-
mixlib-cli (~> 1.
|
|
53
|
+
mixlib-cli (~> 1.7)
|
|
52
54
|
mixlib-log (~> 1.3)
|
|
53
55
|
mixlib-shellout (~> 2.0)
|
|
54
56
|
net-sftp (~> 2.1, >= 2.1.2)
|
|
@@ -57,9 +59,9 @@ GIT
|
|
|
57
59
|
ohai (>= 8.6.0.alpha.1, < 9)
|
|
58
60
|
plist (~> 3.2)
|
|
59
61
|
proxifier (~> 1.0)
|
|
60
|
-
rspec-core (~> 3.
|
|
61
|
-
rspec-expectations (~> 3.
|
|
62
|
-
rspec-mocks (~> 3.
|
|
62
|
+
rspec-core (~> 3.5)
|
|
63
|
+
rspec-expectations (~> 3.5)
|
|
64
|
+
rspec-mocks (~> 3.5)
|
|
63
65
|
rspec_junit_formatter (~> 0.2.0)
|
|
64
66
|
serverspec (~> 2.7)
|
|
65
67
|
specinfra (~> 2.10)
|
|
@@ -75,13 +77,17 @@ GIT
|
|
|
75
77
|
win32-service (~> 0.8.7)
|
|
76
78
|
windows-api (~> 0.4.4)
|
|
77
79
|
wmi-lite (~> 1.0)
|
|
80
|
+
chef-config (12.13.37)
|
|
81
|
+
fuzzyurl
|
|
82
|
+
mixlib-config (~> 2.0)
|
|
83
|
+
mixlib-shellout (~> 2.0)
|
|
78
84
|
|
|
79
85
|
GIT
|
|
80
86
|
remote: git://github.com/chef/opscode-pushy-client.git
|
|
81
|
-
revision:
|
|
82
|
-
branch: 2.1.
|
|
87
|
+
revision: ae7bd646eb0390b3c1c6f7ae06de5dae7fc92336
|
|
88
|
+
branch: 2.1.1
|
|
83
89
|
specs:
|
|
84
|
-
opscode-pushy-client (2.
|
|
90
|
+
opscode-pushy-client (2.1.1)
|
|
85
91
|
chef (>= 12.5)
|
|
86
92
|
ffi-rzmq
|
|
87
93
|
ohai
|
|
@@ -90,14 +96,14 @@ GIT
|
|
|
90
96
|
PATH
|
|
91
97
|
remote: .
|
|
92
98
|
specs:
|
|
93
|
-
chef-dk (0.
|
|
99
|
+
chef-dk (0.17.17)
|
|
94
100
|
chef (~> 12.5)
|
|
95
101
|
chef-provisioning (~> 1.2)
|
|
96
102
|
cookbook-omnifetch (~> 0.2, >= 0.2.2)
|
|
97
103
|
diff-lcs (~> 1.0)
|
|
98
104
|
ffi-yajl (>= 1.0, < 3.0)
|
|
99
105
|
minitar (~> 0.5.4)
|
|
100
|
-
mixlib-cli (~> 1.
|
|
106
|
+
mixlib-cli (~> 1.7)
|
|
101
107
|
mixlib-shellout (~> 2.0)
|
|
102
108
|
paint (~> 1.0)
|
|
103
109
|
solve (~> 2.0, >= 2.0.1)
|
|
@@ -106,7 +112,7 @@ GEM
|
|
|
106
112
|
remote: https://rubygems.org/
|
|
107
113
|
specs:
|
|
108
114
|
CFPropertyList (2.3.2)
|
|
109
|
-
activesupport (4.2.7)
|
|
115
|
+
activesupport (4.2.7.1)
|
|
110
116
|
i18n (~> 0.7)
|
|
111
117
|
json (~> 1.7, >= 1.7.7)
|
|
112
118
|
minitest (~> 5.1)
|
|
@@ -120,12 +126,12 @@ GEM
|
|
|
120
126
|
addressable (>= 2.3.1)
|
|
121
127
|
extlib (>= 0.9.15)
|
|
122
128
|
multi_json (>= 1.0.0)
|
|
123
|
-
aws-sdk (2.3
|
|
124
|
-
aws-sdk-resources (= 2.3
|
|
125
|
-
aws-sdk-core (2.3
|
|
129
|
+
aws-sdk (2.5.3)
|
|
130
|
+
aws-sdk-resources (= 2.5.3)
|
|
131
|
+
aws-sdk-core (2.5.3)
|
|
126
132
|
jmespath (~> 1.0)
|
|
127
|
-
aws-sdk-resources (2.3
|
|
128
|
-
aws-sdk-core (= 2.3
|
|
133
|
+
aws-sdk-resources (2.5.3)
|
|
134
|
+
aws-sdk-core (= 2.5.3)
|
|
129
135
|
aws-sdk-v1 (1.66.0)
|
|
130
136
|
json (~> 1.4)
|
|
131
137
|
nokogiri (>= 1.4.4)
|
|
@@ -168,19 +174,15 @@ GEM
|
|
|
168
174
|
celluloid-io (0.16.2)
|
|
169
175
|
celluloid (>= 0.16.0)
|
|
170
176
|
nio4r (>= 1.1.0)
|
|
171
|
-
chef-
|
|
172
|
-
|
|
173
|
-
mixlib-config (~> 2.0)
|
|
174
|
-
mixlib-shellout (~> 2.0)
|
|
175
|
-
chef-provisioning (1.8.0)
|
|
176
|
-
cheffish (>= 1.3.1, < 3.0)
|
|
177
|
+
chef-provisioning (1.9.1)
|
|
178
|
+
cheffish (>= 1.3.1, < 4.0)
|
|
177
179
|
inifile (>= 2.0.2)
|
|
178
180
|
mixlib-install (~> 1.0)
|
|
179
181
|
net-scp (~> 1.0)
|
|
180
182
|
net-ssh (>= 2.9, < 4.0)
|
|
181
183
|
net-ssh-gateway (~> 1.2.0)
|
|
182
184
|
winrm (~> 1.3)
|
|
183
|
-
chef-provisioning-aws (1.
|
|
185
|
+
chef-provisioning-aws (1.11.0)
|
|
184
186
|
aws-sdk (>= 2.1.26, < 3.0)
|
|
185
187
|
aws-sdk-v1 (>= 1.59.0)
|
|
186
188
|
chef-provisioning (~> 1.4)
|
|
@@ -189,32 +191,31 @@ GEM
|
|
|
189
191
|
chef-provisioning-azure (0.5.0)
|
|
190
192
|
chef-provisioning (~> 1.0)
|
|
191
193
|
stuartpreston-azure-sdk-for-ruby (~> 0.7)
|
|
192
|
-
chef-provisioning-fog (0.19.
|
|
194
|
+
chef-provisioning-fog (0.19.1)
|
|
193
195
|
chef-provisioning (~> 1.0)
|
|
194
|
-
fog (>= 1.
|
|
196
|
+
fog (>= 1.37.0)
|
|
195
197
|
fog-softlayer (~> 1.1.0)
|
|
196
198
|
google-api-client (~> 0.8.0)
|
|
197
199
|
retryable
|
|
198
200
|
chef-provisioning-vagrant (0.11.0)
|
|
199
201
|
chef-provisioning
|
|
200
|
-
chef-sugar (3.
|
|
202
|
+
chef-sugar (3.4.0)
|
|
201
203
|
chef-vault (2.9.0)
|
|
202
|
-
chef-zero (4.
|
|
204
|
+
chef-zero (4.9.0)
|
|
203
205
|
ffi-yajl (~> 2.2)
|
|
204
206
|
hashie (>= 2.0, < 4.0)
|
|
205
207
|
mixlib-log (~> 1.3)
|
|
206
208
|
rack (< 2)
|
|
207
209
|
uuidtools (~> 2.1)
|
|
208
|
-
cheffish (
|
|
210
|
+
cheffish (3.0.0)
|
|
209
211
|
chef-zero (~> 4.3)
|
|
210
|
-
|
|
212
|
+
net-ssh
|
|
211
213
|
chefspec (4.7.0)
|
|
212
214
|
chef (>= 11.14)
|
|
213
215
|
fauxhai (~> 3.2)
|
|
214
216
|
rspec (~> 3.0)
|
|
215
217
|
cleanroom (1.0.0)
|
|
216
218
|
coderay (1.1.1)
|
|
217
|
-
compat_resource (12.10.6)
|
|
218
219
|
concurrent-ruby (1.0.2)
|
|
219
220
|
cookbook-omnifetch (0.2.3)
|
|
220
221
|
minitar (~> 0.5.4)
|
|
@@ -223,13 +224,13 @@ GEM
|
|
|
223
224
|
cucumber-core (1.5.0)
|
|
224
225
|
gherkin (~> 4.0)
|
|
225
226
|
debug_inspector (0.0.2)
|
|
226
|
-
dep-selector-libgecode (1.
|
|
227
|
-
dep_selector (1.0.
|
|
227
|
+
dep-selector-libgecode (1.3.1)
|
|
228
|
+
dep_selector (1.0.4)
|
|
228
229
|
dep-selector-libgecode (~> 1.0)
|
|
229
230
|
ffi (~> 1.9)
|
|
230
231
|
diff-lcs (1.2.5)
|
|
231
232
|
diffy (3.1.0)
|
|
232
|
-
docker-api (1.
|
|
233
|
+
docker-api (1.31.0)
|
|
233
234
|
excon (>= 0.38.0)
|
|
234
235
|
json
|
|
235
236
|
erubis (2.7.0)
|
|
@@ -237,7 +238,7 @@ GEM
|
|
|
237
238
|
extlib (0.9.16)
|
|
238
239
|
faraday (0.9.2)
|
|
239
240
|
multipart-post (>= 1.2, < 3)
|
|
240
|
-
fauxhai (3.
|
|
241
|
+
fauxhai (3.8.0)
|
|
241
242
|
net-ssh
|
|
242
243
|
ffi (1.9.14)
|
|
243
244
|
ffi (1.9.14-x86-mingw32)
|
|
@@ -247,7 +248,7 @@ GEM
|
|
|
247
248
|
ffi
|
|
248
249
|
ffi-win32-extensions (1.0.2)
|
|
249
250
|
ffi
|
|
250
|
-
ffi-yajl (2.
|
|
251
|
+
ffi-yajl (2.3.0)
|
|
251
252
|
libyajl2 (~> 1.2)
|
|
252
253
|
fission (0.5.0)
|
|
253
254
|
CFPropertyList (~> 2.2)
|
|
@@ -288,7 +289,7 @@ GEM
|
|
|
288
289
|
fog-atmos (0.1.0)
|
|
289
290
|
fog-core
|
|
290
291
|
fog-xml
|
|
291
|
-
fog-aws (0.
|
|
292
|
+
fog-aws (0.11.0)
|
|
292
293
|
fog-core (~> 1.38)
|
|
293
294
|
fog-json (~> 1.0)
|
|
294
295
|
fog-xml (~> 0.1)
|
|
@@ -322,7 +323,7 @@ GEM
|
|
|
322
323
|
multi_json (~> 1.10)
|
|
323
324
|
fog-local (0.3.0)
|
|
324
325
|
fog-core (~> 1.27)
|
|
325
|
-
fog-openstack (0.1.
|
|
326
|
+
fog-openstack (0.1.11)
|
|
326
327
|
fog-core (>= 1.40)
|
|
327
328
|
fog-json (>= 1.0)
|
|
328
329
|
ipaddress (>= 0.8)
|
|
@@ -368,7 +369,7 @@ GEM
|
|
|
368
369
|
fog-voxel (0.1.0)
|
|
369
370
|
fog-core
|
|
370
371
|
fog-xml
|
|
371
|
-
fog-vsphere (0.
|
|
372
|
+
fog-vsphere (1.0.0)
|
|
372
373
|
fog-core
|
|
373
374
|
rbvmomi (~> 1.8)
|
|
374
375
|
fog-xenserver (0.2.3)
|
|
@@ -386,7 +387,7 @@ GEM
|
|
|
386
387
|
treetop (~> 1.4)
|
|
387
388
|
yajl-ruby (~> 1.1)
|
|
388
389
|
formatador (0.2.5)
|
|
389
|
-
fuzzyurl (0.
|
|
390
|
+
fuzzyurl (0.9.0)
|
|
390
391
|
gherkin (4.0.0)
|
|
391
392
|
git (1.3.0)
|
|
392
393
|
google-api-client (0.8.6)
|
|
@@ -430,7 +431,7 @@ GEM
|
|
|
430
431
|
inflecto (0.0.2)
|
|
431
432
|
inifile (3.0.0)
|
|
432
433
|
iniparse (1.4.2)
|
|
433
|
-
inspec (0.
|
|
434
|
+
inspec (0.29.0)
|
|
434
435
|
hashie (~> 3.4)
|
|
435
436
|
json (~> 1.8)
|
|
436
437
|
method_source (~> 0.8)
|
|
@@ -440,15 +441,15 @@ GEM
|
|
|
440
441
|
rspec-its (~> 1.2)
|
|
441
442
|
rubyzip (~> 1.1)
|
|
442
443
|
thor (~> 0.19)
|
|
443
|
-
train (>= 0.
|
|
444
|
+
train (>= 0.16.0, < 1.0)
|
|
444
445
|
ipaddress (0.8.3)
|
|
445
|
-
jmespath (1.3.
|
|
446
|
+
jmespath (1.3.1)
|
|
446
447
|
json (1.8.3)
|
|
447
448
|
jwt (1.5.4)
|
|
448
|
-
kitchen-dokken (0.0.
|
|
449
|
+
kitchen-dokken (0.0.32)
|
|
449
450
|
docker-api (~> 1.29)
|
|
450
451
|
test-kitchen (~> 1.5)
|
|
451
|
-
kitchen-ec2 (1.
|
|
452
|
+
kitchen-ec2 (1.1.0)
|
|
452
453
|
aws-sdk (~> 2)
|
|
453
454
|
excon
|
|
454
455
|
multi_json
|
|
@@ -466,7 +467,7 @@ GEM
|
|
|
466
467
|
chef (>= 11.0.0)
|
|
467
468
|
diffy (>= 3.0.1)
|
|
468
469
|
git (>= 1.2.5)
|
|
469
|
-
knife-windows (1.
|
|
470
|
+
knife-windows (1.5.0)
|
|
470
471
|
winrm (~> 1.7)
|
|
471
472
|
launchy (2.4.3)
|
|
472
473
|
addressable (~> 2.3)
|
|
@@ -483,7 +484,9 @@ GEM
|
|
|
483
484
|
systemu (~> 2.6.2)
|
|
484
485
|
memoist (0.14.0)
|
|
485
486
|
method_source (0.8.2)
|
|
486
|
-
mime-types (
|
|
487
|
+
mime-types (3.1)
|
|
488
|
+
mime-types-data (~> 3.2015)
|
|
489
|
+
mime-types-data (3.2016.0521)
|
|
487
490
|
mini_portile2 (2.1.0)
|
|
488
491
|
minitar (0.5.4)
|
|
489
492
|
minitest (5.9.0)
|
|
@@ -491,13 +494,13 @@ GEM
|
|
|
491
494
|
mixlib-log
|
|
492
495
|
mixlib-authentication (1.4.1)
|
|
493
496
|
mixlib-log
|
|
494
|
-
mixlib-cli (1.
|
|
497
|
+
mixlib-cli (1.7.0)
|
|
495
498
|
mixlib-config (2.2.1)
|
|
496
499
|
mixlib-install (1.1.0)
|
|
497
500
|
artifactory
|
|
498
501
|
mixlib-shellout
|
|
499
502
|
mixlib-versioning
|
|
500
|
-
mixlib-log (1.
|
|
503
|
+
mixlib-log (1.7.1)
|
|
501
504
|
mixlib-shellout (2.2.6)
|
|
502
505
|
mixlib-shellout (2.2.6-universal-mingw32)
|
|
503
506
|
win32-process (~> 0.8.2)
|
|
@@ -526,12 +529,12 @@ GEM
|
|
|
526
529
|
mini_portile2 (~> 2.1.0)
|
|
527
530
|
pkg-config (~> 1.1.7)
|
|
528
531
|
nori (2.6.0)
|
|
529
|
-
notiffany (0.1.
|
|
532
|
+
notiffany (0.1.1)
|
|
530
533
|
nenv (~> 0.1)
|
|
531
534
|
shellany (~> 0.0)
|
|
532
535
|
octokit (4.3.0)
|
|
533
536
|
sawyer (~> 0.7.0, >= 0.5.3)
|
|
534
|
-
ohai (8.
|
|
537
|
+
ohai (8.19.1)
|
|
535
538
|
chef-config (>= 12.5.0.alpha.1, < 13)
|
|
536
539
|
ffi (~> 1.9)
|
|
537
540
|
ffi-yajl (~> 2.2)
|
|
@@ -581,11 +584,11 @@ GEM
|
|
|
581
584
|
rdp-ruby-wmi (0.3.1)
|
|
582
585
|
retriable (1.4.1)
|
|
583
586
|
retryable (2.0.4)
|
|
584
|
-
ridley (4.
|
|
587
|
+
ridley (4.6.1)
|
|
585
588
|
addressable
|
|
586
589
|
buff-config (~> 1.0)
|
|
587
590
|
buff-extensions (~> 1.0)
|
|
588
|
-
buff-ignore (~> 1.1)
|
|
591
|
+
buff-ignore (~> 1.1.1)
|
|
589
592
|
buff-shell_out (~> 0.1)
|
|
590
593
|
celluloid (~> 0.16.0)
|
|
591
594
|
celluloid-io (~> 0.16.1)
|
|
@@ -599,22 +602,22 @@ GEM
|
|
|
599
602
|
retryable (~> 2.0)
|
|
600
603
|
semverse (~> 1.1)
|
|
601
604
|
varia_model (~> 0.4.0)
|
|
602
|
-
rspec (3.
|
|
603
|
-
rspec-core (~> 3.
|
|
604
|
-
rspec-expectations (~> 3.
|
|
605
|
-
rspec-mocks (~> 3.
|
|
606
|
-
rspec-core (3.
|
|
607
|
-
rspec-support (~> 3.
|
|
608
|
-
rspec-expectations (3.
|
|
605
|
+
rspec (3.5.0)
|
|
606
|
+
rspec-core (~> 3.5.0)
|
|
607
|
+
rspec-expectations (~> 3.5.0)
|
|
608
|
+
rspec-mocks (~> 3.5.0)
|
|
609
|
+
rspec-core (3.5.2)
|
|
610
|
+
rspec-support (~> 3.5.0)
|
|
611
|
+
rspec-expectations (3.5.0)
|
|
609
612
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
610
|
-
rspec-support (~> 3.
|
|
613
|
+
rspec-support (~> 3.5.0)
|
|
611
614
|
rspec-its (1.2.0)
|
|
612
615
|
rspec-core (>= 3.0.0)
|
|
613
616
|
rspec-expectations (>= 3.0.0)
|
|
614
|
-
rspec-mocks (3.
|
|
617
|
+
rspec-mocks (3.5.0)
|
|
615
618
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
616
|
-
rspec-support (~> 3.
|
|
617
|
-
rspec-support (3.
|
|
619
|
+
rspec-support (~> 3.5.0)
|
|
620
|
+
rspec-support (3.5.0)
|
|
618
621
|
rspec_junit_formatter (0.2.3)
|
|
619
622
|
builder (< 4)
|
|
620
623
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
@@ -627,7 +630,7 @@ GEM
|
|
|
627
630
|
ruby-prof (0.15.9)
|
|
628
631
|
ruby-progressbar (1.8.1)
|
|
629
632
|
ruby-shadow (2.5.0)
|
|
630
|
-
ruby_dep (1.
|
|
633
|
+
ruby_dep (1.4.0)
|
|
631
634
|
rubyntlm (0.6.0)
|
|
632
635
|
rubyzip (1.2.0)
|
|
633
636
|
rufus-lru (1.1.0)
|
|
@@ -652,31 +655,32 @@ GEM
|
|
|
652
655
|
solve (2.0.3)
|
|
653
656
|
molinillo (~> 0.4.2)
|
|
654
657
|
semverse (~> 1.1)
|
|
655
|
-
specinfra (2.
|
|
658
|
+
specinfra (2.61.1)
|
|
656
659
|
net-scp
|
|
657
660
|
net-ssh (>= 2.7, < 4.0)
|
|
658
661
|
net-telnet
|
|
659
662
|
sfl
|
|
660
|
-
stuartpreston-azure-sdk-for-ruby (0.7.
|
|
663
|
+
stuartpreston-azure-sdk-for-ruby (0.7.2)
|
|
661
664
|
json (~> 1.8)
|
|
662
|
-
mime-types (
|
|
665
|
+
mime-types (> 1, < 4)
|
|
663
666
|
nokogiri (~> 1.5)
|
|
664
667
|
systemu (~> 2.6)
|
|
665
668
|
uuid (~> 2.0)
|
|
666
669
|
syslog-logger (1.6.8)
|
|
667
670
|
systemu (2.6.5)
|
|
668
|
-
test-kitchen (1.
|
|
671
|
+
test-kitchen (1.11.1)
|
|
669
672
|
mixlib-install (~> 1.0, >= 1.0.4)
|
|
670
673
|
mixlib-shellout (>= 1.2, < 3.0)
|
|
671
674
|
net-scp (~> 1.1)
|
|
672
675
|
net-ssh (>= 2.9, < 4.0)
|
|
676
|
+
net-ssh-gateway (~> 1.2.0)
|
|
673
677
|
safe_yaml (~> 1.0)
|
|
674
678
|
thor (~> 0.18)
|
|
675
679
|
thor (0.19.1)
|
|
676
680
|
thread_safe (0.3.5)
|
|
677
681
|
timers (4.0.4)
|
|
678
682
|
hitimes
|
|
679
|
-
train (0.
|
|
683
|
+
train (0.16.0)
|
|
680
684
|
docker-api (~> 1.26)
|
|
681
685
|
json (~> 1.8)
|
|
682
686
|
mixlib-shellout (~> 2.0)
|
|
@@ -684,7 +688,7 @@ GEM
|
|
|
684
688
|
net-ssh (>= 2.9, < 4.0)
|
|
685
689
|
winrm (~> 1.6)
|
|
686
690
|
winrm-fs (~> 0.3)
|
|
687
|
-
treetop (1.6.
|
|
691
|
+
treetop (1.6.8)
|
|
688
692
|
polyglot (~> 0.3)
|
|
689
693
|
trollop (2.1.2)
|
|
690
694
|
tzinfo (1.2.2)
|
|
@@ -739,7 +743,7 @@ GEM
|
|
|
739
743
|
wmi-lite (1.0.0)
|
|
740
744
|
xml-simple (1.1.5)
|
|
741
745
|
yajl-ruby (1.2.1)
|
|
742
|
-
yard (0.9.
|
|
746
|
+
yard (0.9.5)
|
|
743
747
|
|
|
744
748
|
PLATFORMS
|
|
745
749
|
ruby
|
|
@@ -791,7 +795,6 @@ DEPENDENCIES
|
|
|
791
795
|
rb-readline
|
|
792
796
|
rdoc
|
|
793
797
|
rdp-ruby-wmi
|
|
794
|
-
rspec-core (= 3.4.4)
|
|
795
798
|
rubocop
|
|
796
799
|
ruby-prof
|
|
797
800
|
ruby-shadow
|
data/acceptance/Gemfile.lock
CHANGED
|
@@ -11,12 +11,12 @@ GEM
|
|
|
11
11
|
specs:
|
|
12
12
|
addressable (2.4.0)
|
|
13
13
|
artifactory (2.3.3)
|
|
14
|
-
aws-sdk (2.3
|
|
15
|
-
aws-sdk-resources (= 2.3
|
|
16
|
-
aws-sdk-core (2.3
|
|
14
|
+
aws-sdk (2.5.3)
|
|
15
|
+
aws-sdk-resources (= 2.5.3)
|
|
16
|
+
aws-sdk-core (2.5.3)
|
|
17
17
|
jmespath (~> 1.0)
|
|
18
|
-
aws-sdk-resources (2.3
|
|
19
|
-
aws-sdk-core (= 2.3
|
|
18
|
+
aws-sdk-resources (2.5.3)
|
|
19
|
+
aws-sdk-core (= 2.5.3)
|
|
20
20
|
berkshelf (4.3.5)
|
|
21
21
|
addressable (~> 2.3, >= 2.3.4)
|
|
22
22
|
berkshelf-api-client (~> 2.0, >= 2.0.2)
|
|
@@ -53,14 +53,14 @@ GEM
|
|
|
53
53
|
celluloid-io (0.16.2)
|
|
54
54
|
celluloid (>= 0.16.0)
|
|
55
55
|
nio4r (>= 1.1.0)
|
|
56
|
-
chef-config (12.
|
|
57
|
-
fuzzyurl
|
|
56
|
+
chef-config (12.13.30)
|
|
57
|
+
fuzzyurl
|
|
58
58
|
mixlib-config (~> 2.0)
|
|
59
59
|
mixlib-shellout (~> 2.0)
|
|
60
60
|
cleanroom (1.0.0)
|
|
61
61
|
coderay (1.1.1)
|
|
62
62
|
diff-lcs (1.2.5)
|
|
63
|
-
docker-api (1.
|
|
63
|
+
docker-api (1.31.0)
|
|
64
64
|
excon (>= 0.38.0)
|
|
65
65
|
json
|
|
66
66
|
erubis (2.7.0)
|
|
@@ -68,7 +68,7 @@ GEM
|
|
|
68
68
|
faraday (0.9.2)
|
|
69
69
|
multipart-post (>= 1.2, < 3)
|
|
70
70
|
ffi (1.9.14)
|
|
71
|
-
fuzzyurl (0.
|
|
71
|
+
fuzzyurl (0.9.0)
|
|
72
72
|
gssapi (1.2.0)
|
|
73
73
|
ffi (>= 1.0.1)
|
|
74
74
|
gyoku (1.3.1)
|
|
@@ -76,7 +76,7 @@ GEM
|
|
|
76
76
|
hashie (3.4.4)
|
|
77
77
|
hitimes (1.2.4)
|
|
78
78
|
httpclient (2.7.2)
|
|
79
|
-
inspec (0.
|
|
79
|
+
inspec (0.29.0)
|
|
80
80
|
hashie (~> 3.4)
|
|
81
81
|
json (~> 1.8)
|
|
82
82
|
method_source (~> 0.8)
|
|
@@ -86,10 +86,10 @@ GEM
|
|
|
86
86
|
rspec-its (~> 1.2)
|
|
87
87
|
rubyzip (~> 1.1)
|
|
88
88
|
thor (~> 0.19)
|
|
89
|
-
train (>= 0.
|
|
90
|
-
jmespath (1.3.
|
|
89
|
+
train (>= 0.16.0, < 1.0)
|
|
90
|
+
jmespath (1.3.1)
|
|
91
91
|
json (1.8.3)
|
|
92
|
-
kitchen-ec2 (1.
|
|
92
|
+
kitchen-ec2 (1.1.0)
|
|
93
93
|
aws-sdk (~> 2)
|
|
94
94
|
excon
|
|
95
95
|
multi_json
|
|
@@ -115,7 +115,7 @@ GEM
|
|
|
115
115
|
artifactory
|
|
116
116
|
mixlib-shellout
|
|
117
117
|
mixlib-versioning
|
|
118
|
-
mixlib-log (1.
|
|
118
|
+
mixlib-log (1.7.1)
|
|
119
119
|
mixlib-shellout (2.2.6)
|
|
120
120
|
mixlib-versioning (1.1.0)
|
|
121
121
|
molinillo (0.4.5)
|
|
@@ -124,6 +124,8 @@ GEM
|
|
|
124
124
|
net-scp (1.2.1)
|
|
125
125
|
net-ssh (>= 2.6.5)
|
|
126
126
|
net-ssh (3.2.0)
|
|
127
|
+
net-ssh-gateway (1.2.0)
|
|
128
|
+
net-ssh (>= 2.6.5)
|
|
127
129
|
nio4r (1.2.1)
|
|
128
130
|
nori (2.6.0)
|
|
129
131
|
octokit (4.3.0)
|
|
@@ -134,11 +136,11 @@ GEM
|
|
|
134
136
|
slop (~> 3.4)
|
|
135
137
|
rainbow (2.1.0)
|
|
136
138
|
retryable (2.0.4)
|
|
137
|
-
ridley (4.
|
|
139
|
+
ridley (4.6.1)
|
|
138
140
|
addressable
|
|
139
141
|
buff-config (~> 1.0)
|
|
140
142
|
buff-extensions (~> 1.0)
|
|
141
|
-
buff-ignore (~> 1.1)
|
|
143
|
+
buff-ignore (~> 1.1.1)
|
|
142
144
|
buff-shell_out (~> 0.1)
|
|
143
145
|
celluloid (~> 0.16.0)
|
|
144
146
|
celluloid-io (~> 0.16.1)
|
|
@@ -179,17 +181,18 @@ GEM
|
|
|
179
181
|
solve (2.0.3)
|
|
180
182
|
molinillo (~> 0.4.2)
|
|
181
183
|
semverse (~> 1.1)
|
|
182
|
-
test-kitchen (1.
|
|
184
|
+
test-kitchen (1.11.1)
|
|
183
185
|
mixlib-install (~> 1.0, >= 1.0.4)
|
|
184
186
|
mixlib-shellout (>= 1.2, < 3.0)
|
|
185
187
|
net-scp (~> 1.1)
|
|
186
188
|
net-ssh (>= 2.9, < 4.0)
|
|
189
|
+
net-ssh-gateway (~> 1.2.0)
|
|
187
190
|
safe_yaml (~> 1.0)
|
|
188
191
|
thor (~> 0.18)
|
|
189
192
|
thor (0.19.1)
|
|
190
193
|
timers (4.0.4)
|
|
191
194
|
hitimes
|
|
192
|
-
train (0.
|
|
195
|
+
train (0.16.0)
|
|
193
196
|
docker-api (~> 1.26)
|
|
194
197
|
json (~> 1.8)
|
|
195
198
|
mixlib-shellout (~> 2.0)
|
data/chef-dk.gemspec
CHANGED
|
@@ -39,7 +39,7 @@ Gem::Specification.new do |gem|
|
|
|
39
39
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
40
40
|
gem.require_paths = ["lib"]
|
|
41
41
|
|
|
42
|
-
gem.add_dependency "mixlib-cli", "~> 1.
|
|
42
|
+
gem.add_dependency "mixlib-cli", "~> 1.7"
|
|
43
43
|
gem.add_dependency "mixlib-shellout", "~> 2.0"
|
|
44
44
|
gem.add_dependency "ffi-yajl", ">= 1.0", "< 3.0"
|
|
45
45
|
|
|
@@ -9,12 +9,15 @@
|
|
|
9
9
|
# By default these phases are configured for Cookbook Workflow only
|
|
10
10
|
#
|
|
11
11
|
# As this is still a prototype we are not modifying the current
|
|
12
|
-
# config.json file and it will continue working as usual.
|
|
12
|
+
# config.json file and it will continue working as usual.
|
|
13
13
|
|
|
14
14
|
[local_phases]
|
|
15
15
|
unit = "rspec spec/"
|
|
16
16
|
lint = "cookstyle"
|
|
17
|
-
|
|
17
|
+
# Foodcritic expects an `issues_url` and `source_url` in the metadata.rb
|
|
18
|
+
# We turn this off by default because only cookbooks uploaded to the
|
|
19
|
+
# Supermarket will have these added.
|
|
20
|
+
syntax = "foodcritic . --exclude spec -f any -t \"~FC064\" -t \"~FC065\""
|
|
18
21
|
provision = "chef exec kitchen create"
|
|
19
22
|
deploy = "chef exec kitchen converge"
|
|
20
23
|
smoke = "chef exec kitchen verify"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
context = ChefDK::Generator.context
|
|
3
3
|
cookbook_dir = File.join(context.cookbook_root, context.cookbook_name)
|
|
4
4
|
files_dir = File.join(cookbook_dir, "files", "default")
|
|
5
|
-
cookbook_file_path = File.join(cookbook_dir, "files", "default",
|
|
5
|
+
cookbook_file_path = File.join(cookbook_dir, "files", "default", context.new_file_basename)
|
|
6
6
|
|
|
7
7
|
directory files_dir do
|
|
8
8
|
recursive true
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
source 'https://supermarket.chef.io'
|
|
2
2
|
|
|
3
3
|
metadata
|
|
4
|
-
<% if build_cookbook_parent_is_cookbook -%>
|
|
5
|
-
|
|
6
|
-
cookbook 'delivery-truck',
|
|
7
|
-
git: 'https://github.com/chef-cookbooks/delivery-truck.git',
|
|
8
|
-
branch: 'master'
|
|
9
|
-
|
|
10
|
-
# This is so we know where to get delivery-truck's dependency
|
|
11
|
-
cookbook 'delivery-sugar',
|
|
12
|
-
git: 'https://github.com/chef-cookbooks/delivery-sugar.git',
|
|
13
|
-
branch: 'master'
|
|
14
|
-
<% end -%>
|
|
15
4
|
|
|
16
5
|
group :delivery do
|
|
17
6
|
cookbook 'delivery_build', git: 'https://github.com/chef-cookbooks/delivery_build'
|
|
@@ -5,3 +5,11 @@ license '<%= license %>'
|
|
|
5
5
|
description 'Installs/Configures <%= cookbook_name %>'
|
|
6
6
|
long_description 'Installs/Configures <%= cookbook_name %>'
|
|
7
7
|
version '0.1.0'
|
|
8
|
+
|
|
9
|
+
# If you upload to Supermarket you should set this so your cookbook
|
|
10
|
+
# gets a `View Issues` link
|
|
11
|
+
# issues_url 'https://github.com/<insert_org_here>/<%= cookbook_name %>/issues' if respond_to?(:issues_url)
|
|
12
|
+
|
|
13
|
+
# If you upload to Supermarket you should set this so your cookbook
|
|
14
|
+
# gets a `View Source` link
|
|
15
|
+
# source_url 'https://github.com/<insert_org_here>/<%= cookbook_name %>' if respond_to?(:source_url)
|
data/lib/chef-dk/version.rb
CHANGED
|
@@ -190,12 +190,15 @@ EOF
|
|
|
190
190
|
# By default these phases are configured for Cookbook Workflow only
|
|
191
191
|
#
|
|
192
192
|
# As this is still a prototype we are not modifying the current
|
|
193
|
-
# config.json file and it will continue working as usual.
|
|
193
|
+
# config.json file and it will continue working as usual.
|
|
194
194
|
|
|
195
195
|
[local_phases]
|
|
196
196
|
unit = "rspec spec/"
|
|
197
197
|
lint = "cookstyle"
|
|
198
|
-
|
|
198
|
+
# Foodcritic expects an `issues_url` and `source_url` in the metadata.rb
|
|
199
|
+
# We turn this off by default because only cookbooks uploaded to the
|
|
200
|
+
# Supermarket will have these added.
|
|
201
|
+
syntax = "foodcritic . --exclude spec -f any -t \\\"~FC064\\\" -t \\\"~FC065\\\""
|
|
199
202
|
provision = "chef exec kitchen create"
|
|
200
203
|
deploy = "chef exec kitchen converge"
|
|
201
204
|
smoke = "chef exec kitchen verify"
|
|
@@ -269,15 +272,6 @@ source 'https://supermarket.chef.io'
|
|
|
269
272
|
|
|
270
273
|
metadata
|
|
271
274
|
|
|
272
|
-
cookbook 'delivery-truck',
|
|
273
|
-
git: 'https://github.com/chef-cookbooks/delivery-truck.git',
|
|
274
|
-
branch: 'master'
|
|
275
|
-
|
|
276
|
-
# This is so we know where to get delivery-truck's dependency
|
|
277
|
-
cookbook 'delivery-sugar',
|
|
278
|
-
git: 'https://github.com/chef-cookbooks/delivery-sugar.git',
|
|
279
|
-
branch: 'master'
|
|
280
|
-
|
|
281
275
|
group :delivery do
|
|
282
276
|
cookbook 'delivery_build', git: 'https://github.com/chef-cookbooks/delivery_build'
|
|
283
277
|
cookbook 'delivery-base', git: 'https://github.com/chef-cookbooks/delivery-base'
|
|
@@ -571,6 +565,9 @@ platforms:
|
|
|
571
565
|
|
|
572
566
|
suites:
|
|
573
567
|
- name: default
|
|
568
|
+
verifier:
|
|
569
|
+
inspec_tests:
|
|
570
|
+
- test/recipes
|
|
574
571
|
attributes:
|
|
575
572
|
KITCHEN_YML
|
|
576
573
|
end
|
|
@@ -641,6 +638,9 @@ suites:
|
|
|
641
638
|
- name: default
|
|
642
639
|
run_list:
|
|
643
640
|
- recipe[new_cookbook::default]
|
|
641
|
+
verifier:
|
|
642
|
+
inspec_tests:
|
|
643
|
+
- test/recipes
|
|
644
644
|
attributes:
|
|
645
645
|
KITCHEN_YML
|
|
646
646
|
end
|
|
@@ -664,7 +664,7 @@ SPEC_HELPER
|
|
|
664
664
|
let(:file) { File.join(tempdir, "new_cookbook", "metadata.rb") }
|
|
665
665
|
|
|
666
666
|
include_examples "a generated file", :cookbook_name do
|
|
667
|
-
let(:line) { /name\s+'new_cookbook'/ }
|
|
667
|
+
let(:line) { /name\s+'new_cookbook'.+# issues_url.+# source_url/m }
|
|
668
668
|
end
|
|
669
669
|
end
|
|
670
670
|
|
|
@@ -20,7 +20,7 @@ require 'chef-dk/command/shell_init'
|
|
|
20
20
|
|
|
21
21
|
describe ChefDK::Command::ShellInit do
|
|
22
22
|
|
|
23
|
-
let(:expected_path) { [omnibus_bin_dir, user_bin_dir, omnibus_embedded_bin_dir, ENV['PATH']].join(File::PATH_SEPARATOR) }
|
|
23
|
+
let(:expected_path) { [omnibus_bin_dir, user_bin_dir, omnibus_embedded_bin_dir, ENV['PATH'], git_bin_dir].join(File::PATH_SEPARATOR) }
|
|
24
24
|
let(:stdout_io) { StringIO.new }
|
|
25
25
|
let(:stderr_io) { StringIO.new }
|
|
26
26
|
|
|
@@ -37,15 +37,22 @@ describe ChefDK::Command::ShellInit do
|
|
|
37
37
|
let(:expected_gem_home) { Gem.user_dir }
|
|
38
38
|
let(:expected_gem_path) { Gem.path.join(File::PATH_SEPARATOR) }
|
|
39
39
|
|
|
40
|
+
before do
|
|
41
|
+
allow(::Dir).to receive(:exists?).and_call_original
|
|
42
|
+
end
|
|
43
|
+
|
|
40
44
|
context "with no explicit omnibus directory" do
|
|
41
45
|
|
|
42
46
|
let(:omnibus_bin_dir) { "/foo/bin" }
|
|
43
47
|
let(:omnibus_embedded_bin_dir) { "/foo/embedded/bin" }
|
|
48
|
+
let(:git_bin_dir) { "/foo/gitbin" }
|
|
44
49
|
let(:argv) { [shell] }
|
|
45
50
|
|
|
46
51
|
before do
|
|
47
52
|
allow(command_instance).to receive(:omnibus_embedded_bin_dir).and_return(omnibus_embedded_bin_dir)
|
|
48
53
|
allow(command_instance).to receive(:omnibus_bin_dir).and_return(omnibus_bin_dir)
|
|
54
|
+
allow(command_instance).to receive(:git_bin_dir).and_return(git_bin_dir)
|
|
55
|
+
allow(::Dir).to receive(:exists?).with(git_bin_dir).and_return(true)
|
|
49
56
|
end
|
|
50
57
|
|
|
51
58
|
it "emits a script to add ChefDK's ruby to the shell environment" do
|
|
@@ -66,9 +73,14 @@ describe ChefDK::Command::ShellInit do
|
|
|
66
73
|
let(:omnibus_root) { File.join(fixtures_path, "eg_omnibus_dir/valid/") }
|
|
67
74
|
let(:omnibus_bin_dir) { File.join(omnibus_root, "bin") }
|
|
68
75
|
let(:omnibus_embedded_bin_dir) { File.join(omnibus_root, "embedded/bin") }
|
|
76
|
+
let(:git_bin_dir) { File.join(omnibus_root, "gitbin") }
|
|
69
77
|
|
|
70
78
|
let(:argv) { [shell, "--omnibus-dir", omnibus_root] }
|
|
71
79
|
|
|
80
|
+
before do
|
|
81
|
+
allow(::Dir).to receive(:exists?).with(git_bin_dir).and_return(true)
|
|
82
|
+
end
|
|
83
|
+
|
|
72
84
|
it "emits a script to add ChefDK's ruby to the shell environment" do
|
|
73
85
|
command_instance.run(argv)
|
|
74
86
|
expect(stdout_io.string).to include(expected_environment_commands)
|
|
@@ -234,7 +246,7 @@ compdef _chef chef
|
|
|
234
246
|
before do
|
|
235
247
|
stub_const('File::PATH_SEPARATOR', ':')
|
|
236
248
|
end
|
|
237
|
-
let(:expected_path) { [omnibus_bin_dir, user_bin_dir, omnibus_embedded_bin_dir, ENV['PATH']].join(':').split(':').join('" "') }
|
|
249
|
+
let(:expected_path) { [omnibus_bin_dir, user_bin_dir, omnibus_embedded_bin_dir, ENV['PATH'], git_bin_dir].join(':').split(':').join('" "') }
|
|
238
250
|
let(:expected_environment_commands) do
|
|
239
251
|
<<-EOH
|
|
240
252
|
set -gx PATH "#{expected_path}" 2>/dev/null;
|
|
@@ -25,6 +25,8 @@ begin
|
|
|
25
25
|
config.enhancement_labels = "enhancement,Enhancement,New Feature,Feature".split(",")
|
|
26
26
|
config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(",")
|
|
27
27
|
config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog,Question,Discussion".split(",")
|
|
28
|
+
# Makes life easier by only generating changelogs between said tags.
|
|
29
|
+
# config.between_tags = "v0.15.15,v0.16.28".split(",")
|
|
28
30
|
end
|
|
29
31
|
rescue LoadError
|
|
30
32
|
puts "github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chef-dk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.17.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel DeLeo
|
|
@@ -10,16 +10,13 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-
|
|
13
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: mixlib-cli
|
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
|
18
18
|
requirements:
|
|
19
19
|
- - "~>"
|
|
20
|
-
- !ruby/object:Gem::Version
|
|
21
|
-
version: '1.5'
|
|
22
|
-
- - "<"
|
|
23
20
|
- !ruby/object:Gem::Version
|
|
24
21
|
version: '1.7'
|
|
25
22
|
type: :runtime
|
|
@@ -27,9 +24,6 @@ dependencies:
|
|
|
27
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
28
25
|
requirements:
|
|
29
26
|
- - "~>"
|
|
30
|
-
- !ruby/object:Gem::Version
|
|
31
|
-
version: '1.5'
|
|
32
|
-
- - "<"
|
|
33
27
|
- !ruby/object:Gem::Version
|
|
34
28
|
version: '1.7'
|
|
35
29
|
- !ruby/object:Gem::Dependency
|
|
@@ -656,7 +650,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
656
650
|
version: '0'
|
|
657
651
|
requirements: []
|
|
658
652
|
rubyforge_project:
|
|
659
|
-
rubygems_version: 2.6.
|
|
653
|
+
rubygems_version: 2.6.6
|
|
660
654
|
signing_key:
|
|
661
655
|
specification_version: 4
|
|
662
656
|
summary: A streamlined development and deployment workflow for Chef platform.
|
|
@@ -840,4 +834,3 @@ test_files:
|
|
|
840
834
|
- spec/unit/service_exception_inspectors/http_spec.rb
|
|
841
835
|
- spec/unit/shell_out_spec.rb
|
|
842
836
|
- spec/unit/tasks/helpers_spec.rb
|
|
843
|
-
has_rdoc:
|