chef-apply 0.2.13 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +26 -0
- data/Gemfile.lock +57 -73
- data/Rakefile +36 -26
- data/chef-apply.gemspec +2 -10
- data/lib/chef_apply/recipe_lookup.rb +1 -1
- data/lib/chef_apply/version.rb +1 -1
- data/spec/unit/recipe_lookup_spec.rb +1 -1
- data/warning.txt +1 -1
- metadata +7 -119
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8432ce2435f3453da3c0116efc43e17455aaebb30c5331bcccbc5c5ef04a892
|
4
|
+
data.tar.gz: 5fa3d67786d2b42d5b151a620a6ea09bceeaeed41a9ed2162ef2547e7ebfc306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 463a17c1c86f2c8567c1cd9e77e327c4cf5aadb693098a16370f501b0fe9d700d84d2c9bdf8c9b4b3ee043361127eab4d1bf33d028e43bf0e39a5bf779650467
|
7
|
+
data.tar.gz: c23857b502bacbf571f024423f916fa835ff631ff38fa783a750a00b19a5437f4362c02cf2bc33de5eb9e559a04c4812a4df5784a7d22c3ed1fc735d7f431323
|
data/Gemfile
CHANGED
@@ -17,3 +17,29 @@
|
|
17
17
|
|
18
18
|
source "https://rubygems.org"
|
19
19
|
gemspec
|
20
|
+
# NOTE: do not submit PRs to add pry as a dep, add to your Gemfile.local
|
21
|
+
group :development do
|
22
|
+
gem "chefstyle"
|
23
|
+
gem "rake", ">= 10.1.0"
|
24
|
+
gem "rspec", "~> 3.0"
|
25
|
+
gem "simplecov"
|
26
|
+
end
|
27
|
+
|
28
|
+
group :docs do
|
29
|
+
gem "yard"
|
30
|
+
gem "redcarpet"
|
31
|
+
gem "github-markup"
|
32
|
+
end
|
33
|
+
|
34
|
+
group :debug do
|
35
|
+
gem "pry"
|
36
|
+
gem "pry-byebug"
|
37
|
+
gem "pry-stack_explorer"
|
38
|
+
gem "rb-readline"
|
39
|
+
end
|
40
|
+
|
41
|
+
instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
|
42
|
+
|
43
|
+
# If you want to load debugging tools into the bundle exec sandbox,
|
44
|
+
# add these additional dependencies into Gemfile.local
|
45
|
+
eval_gemfile(__FILE__ + ".local") if File.exist?(__FILE__ + ".local")
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
chef-apply (0.
|
5
|
-
chef (>=
|
6
|
-
chef-dk (>=
|
4
|
+
chef-apply (0.3.0)
|
5
|
+
chef (>= 15.0)
|
6
|
+
chef-dk (>= 4.0)
|
7
7
|
chef-telemetry
|
8
8
|
license-acceptance (~> 1.0, >= 1.0.11)
|
9
9
|
mixlib-cli
|
@@ -26,70 +26,61 @@ GEM
|
|
26
26
|
ms_rest_azure (~> 0.11.0)
|
27
27
|
azure_mgmt_key_vault (0.17.4)
|
28
28
|
ms_rest_azure (~> 0.11.0)
|
29
|
-
azure_mgmt_resources (0.17.
|
30
|
-
ms_rest_azure (~> 0.11.
|
29
|
+
azure_mgmt_resources (0.17.5)
|
30
|
+
ms_rest_azure (~> 0.11.1)
|
31
|
+
bcrypt_pbkdf (1.0.1)
|
31
32
|
binding_of_caller (0.8.0)
|
32
33
|
debug_inspector (>= 0.0.1)
|
33
34
|
builder (3.2.3)
|
34
35
|
byebug (11.0.1)
|
35
|
-
chef (
|
36
|
+
chef (15.0.300)
|
36
37
|
addressable
|
38
|
+
bcrypt_pbkdf (~> 1.0)
|
37
39
|
bundler (>= 1.10)
|
38
|
-
chef-config (=
|
39
|
-
chef-zero (>=
|
40
|
+
chef-config (= 15.0.300)
|
41
|
+
chef-zero (>= 14.0.11)
|
40
42
|
diff-lcs (~> 1.2, >= 1.2.4)
|
43
|
+
ed25519 (~> 1.2)
|
41
44
|
erubis (~> 2.7)
|
42
45
|
ffi (~> 1.9, >= 1.9.25)
|
46
|
+
ffi-libarchive
|
43
47
|
ffi-yajl (~> 2.2)
|
44
|
-
highline (
|
48
|
+
highline (>= 1.6.9, < 2)
|
45
49
|
iniparse (~> 1.4)
|
50
|
+
license-acceptance (~> 1.0, >= 1.0.5)
|
46
51
|
mixlib-archive (>= 0.4, < 2.0)
|
47
52
|
mixlib-authentication (~> 2.1)
|
48
53
|
mixlib-cli (>= 1.7, < 3.0)
|
49
54
|
mixlib-log (>= 2.0.3, < 4.0)
|
50
55
|
mixlib-shellout (>= 2.4, < 4.0)
|
51
56
|
net-sftp (~> 2.1, >= 2.1.2)
|
52
|
-
net-ssh (
|
57
|
+
net-ssh (>= 4.2, < 6)
|
53
58
|
net-ssh-multi (~> 1.2, >= 1.2.1)
|
54
|
-
ohai (~>
|
59
|
+
ohai (~> 15.0)
|
55
60
|
plist (~> 3.2)
|
56
61
|
proxifier (~> 1.0)
|
57
|
-
rspec-core (~> 3.5)
|
58
|
-
rspec-expectations (~> 3.5)
|
59
|
-
rspec-mocks (~> 3.5)
|
60
|
-
rspec_junit_formatter (~> 0.2.0)
|
61
|
-
serverspec (~> 2.7)
|
62
|
-
specinfra (~> 2.10)
|
63
62
|
syslog-logger (~> 1.6)
|
63
|
+
train-core (~> 2.0, >= 2.0.12)
|
64
|
+
tty-screen (~> 0.6)
|
64
65
|
uuidtools (~> 2.1.5)
|
65
|
-
chef-config (
|
66
|
+
chef-config (15.0.300)
|
66
67
|
addressable
|
67
68
|
fuzzyurl
|
68
69
|
mixlib-config (>= 2.2.12, < 4.0)
|
69
70
|
mixlib-shellout (>= 2.0, < 4.0)
|
70
71
|
tomlrb (~> 1.2)
|
71
|
-
chef-dk (
|
72
|
+
chef-dk (4.0.60)
|
72
73
|
addressable (>= 2.3.5, < 2.6)
|
73
|
-
chef (~>
|
74
|
-
chef-provisioning (~> 2.0)
|
74
|
+
chef (~> 15.0)
|
75
75
|
cookbook-omnifetch (~> 0.5)
|
76
76
|
diff-lcs (~> 1.0)
|
77
77
|
ffi-yajl (>= 1.0, < 3.0)
|
78
|
+
license-acceptance (~> 1.0, >= 1.0.11)
|
78
79
|
minitar (~> 0.6)
|
79
|
-
mixlib-cli (
|
80
|
-
mixlib-shellout (
|
80
|
+
mixlib-cli (>= 1.7, < 3.0)
|
81
|
+
mixlib-shellout (>= 2.0, < 4.0)
|
81
82
|
paint (~> 1.0)
|
82
83
|
solve (> 2.0, < 5.0)
|
83
|
-
chef-provisioning (2.7.6)
|
84
|
-
cheffish (>= 4.0, < 15.0)
|
85
|
-
inifile (>= 2.0.2)
|
86
|
-
mixlib-install (>= 1.0)
|
87
|
-
net-scp (~> 1.0)
|
88
|
-
net-ssh (>= 2.9, < 5.0)
|
89
|
-
net-ssh-gateway (> 1.2, < 3.0)
|
90
|
-
winrm (~> 2.0)
|
91
|
-
winrm-elevated (~> 1.0)
|
92
|
-
winrm-fs (~> 1.0)
|
93
84
|
chef-telemetry (0.1.8)
|
94
85
|
chef-config
|
95
86
|
concurrent-ruby (~> 1.0)
|
@@ -101,9 +92,6 @@ GEM
|
|
101
92
|
mixlib-log (>= 2.0, < 4.0)
|
102
93
|
rack (~> 2.0, >= 2.0.6)
|
103
94
|
uuidtools (~> 2.1)
|
104
|
-
cheffish (14.0.4)
|
105
|
-
chef-zero (~> 14.0)
|
106
|
-
net-ssh
|
107
95
|
chefstyle (0.12.0)
|
108
96
|
rubocop (= 0.62.0)
|
109
97
|
citrus (3.0.2)
|
@@ -121,6 +109,7 @@ GEM
|
|
121
109
|
multi_json
|
122
110
|
domain_name (0.5.20180417)
|
123
111
|
unf (>= 0.0.5, < 1.0.0)
|
112
|
+
ed25519 (1.2.4)
|
124
113
|
equatable (0.5.0)
|
125
114
|
erubis (2.7.0)
|
126
115
|
excon (0.64.0)
|
@@ -129,10 +118,13 @@ GEM
|
|
129
118
|
faraday-cookie_jar (0.0.6)
|
130
119
|
faraday (>= 0.7.4)
|
131
120
|
http-cookie (~> 1.0.0)
|
132
|
-
ffi (1.
|
121
|
+
ffi (1.11.1)
|
122
|
+
ffi-libarchive (0.4.6)
|
123
|
+
ffi (~> 1.0)
|
133
124
|
ffi-yajl (2.3.1)
|
134
125
|
libyajl2 (~> 1.2)
|
135
126
|
fuzzyurl (0.9.0)
|
127
|
+
github-markup (3.0.4)
|
136
128
|
google-api-client (0.23.9)
|
137
129
|
addressable (~> 2.5, >= 2.5.1)
|
138
130
|
googleauth (>= 0.5, < 0.7.0)
|
@@ -169,9 +161,9 @@ GEM
|
|
169
161
|
ipaddress (0.8.3)
|
170
162
|
jaro_winkler (1.5.2)
|
171
163
|
json (2.2.0)
|
172
|
-
jwt (2.1
|
164
|
+
jwt (2.2.1)
|
173
165
|
libyajl2 (1.2.0)
|
174
|
-
license-acceptance (1.0.
|
166
|
+
license-acceptance (1.0.12)
|
175
167
|
pastel (~> 0.7)
|
176
168
|
tomlrb (~> 1.2)
|
177
169
|
tty-box (~> 0.3)
|
@@ -189,7 +181,7 @@ GEM
|
|
189
181
|
mixlib-archive (1.0.1)
|
190
182
|
mixlib-log
|
191
183
|
mixlib-authentication (2.1.1)
|
192
|
-
mixlib-cli (
|
184
|
+
mixlib-cli (2.0.6)
|
193
185
|
mixlib-config (3.0.1)
|
194
186
|
tomlrb
|
195
187
|
mixlib-install (3.11.18)
|
@@ -213,20 +205,19 @@ GEM
|
|
213
205
|
multi_json (1.13.1)
|
214
206
|
multipart-post (2.1.1)
|
215
207
|
necromancer (0.4.0)
|
216
|
-
net-scp (
|
217
|
-
net-ssh (>= 2.6.5)
|
208
|
+
net-scp (2.0.0)
|
209
|
+
net-ssh (>= 2.6.5, < 6.0.0)
|
218
210
|
net-sftp (2.1.2)
|
219
211
|
net-ssh (>= 2.6.5)
|
220
|
-
net-ssh (
|
212
|
+
net-ssh (5.2.0)
|
221
213
|
net-ssh-gateway (2.0.0)
|
222
214
|
net-ssh (>= 4.0.0)
|
223
215
|
net-ssh-multi (1.2.1)
|
224
216
|
net-ssh (>= 2.6.5)
|
225
217
|
net-ssh-gateway (>= 1.2.0)
|
226
|
-
net-telnet (0.1.1)
|
227
218
|
nori (2.6.0)
|
228
|
-
ohai (
|
229
|
-
chef-config (>= 12.8, <
|
219
|
+
ohai (15.0.35)
|
220
|
+
chef-config (>= 12.8, < 16)
|
230
221
|
ffi (~> 1.9)
|
231
222
|
ffi-yajl (~> 2.2)
|
232
223
|
ipaddress
|
@@ -257,13 +248,15 @@ GEM
|
|
257
248
|
pry-stack_explorer (0.4.9.3)
|
258
249
|
binding_of_caller (>= 0.7)
|
259
250
|
pry (>= 0.9.11)
|
260
|
-
public_suffix (3.0
|
251
|
+
public_suffix (3.1.0)
|
261
252
|
r18n-core (3.2.0)
|
262
253
|
r18n-desktop (3.2.0)
|
263
254
|
r18n-core (= 3.2.0)
|
264
255
|
rack (2.0.7)
|
265
256
|
rainbow (3.0.0)
|
266
257
|
rake (12.3.2)
|
258
|
+
rb-readline (0.5.5)
|
259
|
+
redcarpet (3.4.0)
|
267
260
|
representable (3.0.4)
|
268
261
|
declarative (< 0.1.0)
|
269
262
|
declarative-option (< 0.2.0)
|
@@ -278,16 +271,10 @@ GEM
|
|
278
271
|
rspec-expectations (3.8.3)
|
279
272
|
diff-lcs (>= 1.2.0, < 2.0)
|
280
273
|
rspec-support (~> 3.8.0)
|
281
|
-
rspec-its (1.3.0)
|
282
|
-
rspec-core (>= 3.0.0)
|
283
|
-
rspec-expectations (>= 3.0.0)
|
284
274
|
rspec-mocks (3.8.0)
|
285
275
|
diff-lcs (>= 1.2.0, < 2.0)
|
286
276
|
rspec-support (~> 3.8.0)
|
287
277
|
rspec-support (3.8.0)
|
288
|
-
rspec_junit_formatter (0.2.3)
|
289
|
-
builder (< 4)
|
290
|
-
rspec-core (>= 2, < 4, != 2.12.0)
|
291
278
|
rubocop (0.62.0)
|
292
279
|
jaro_winkler (~> 1.5.1)
|
293
280
|
parallel (~> 1.10)
|
@@ -296,16 +283,10 @@ GEM
|
|
296
283
|
rainbow (>= 2.2.2, < 4.0)
|
297
284
|
ruby-progressbar (~> 1.7)
|
298
285
|
unicode-display_width (~> 1.4.0)
|
299
|
-
ruby-progressbar (1.10.
|
286
|
+
ruby-progressbar (1.10.1)
|
300
287
|
rubyntlm (0.6.2)
|
301
|
-
rubyzip (1.2.
|
288
|
+
rubyzip (1.2.3)
|
302
289
|
semverse (3.0.0)
|
303
|
-
serverspec (2.41.3)
|
304
|
-
multi_json
|
305
|
-
rspec (~> 3.0)
|
306
|
-
rspec-its
|
307
|
-
specinfra (~> 2.72)
|
308
|
-
sfl (2.3)
|
309
290
|
signet (0.11.0)
|
310
291
|
addressable (~> 2.3)
|
311
292
|
faraday (~> 0.9)
|
@@ -319,11 +300,6 @@ GEM
|
|
319
300
|
solve (4.0.2)
|
320
301
|
molinillo (~> 0.6)
|
321
302
|
semverse (>= 1.1, < 4.0)
|
322
|
-
specinfra (2.77.2)
|
323
|
-
net-scp
|
324
|
-
net-ssh (>= 2.7)
|
325
|
-
net-telnet (= 0.1.1)
|
326
|
-
sfl
|
327
303
|
strings (0.1.4)
|
328
304
|
strings-ansi (~> 0.1.0)
|
329
305
|
unicode-display_width (~> 1.4.0)
|
@@ -337,7 +313,7 @@ GEM
|
|
337
313
|
toml-rb (1.1.2)
|
338
314
|
citrus (~> 3.0, > 3.0)
|
339
315
|
tomlrb (1.2.8)
|
340
|
-
train (2.1.
|
316
|
+
train (2.1.7)
|
341
317
|
azure_graph_rbac (~> 0.16)
|
342
318
|
azure_mgmt_key_vault (~> 0.17)
|
343
319
|
azure_mgmt_resources (~> 0.15)
|
@@ -351,6 +327,13 @@ GEM
|
|
351
327
|
net-ssh (>= 2.9, < 6.0)
|
352
328
|
winrm (~> 2.0)
|
353
329
|
winrm-fs (~> 1.0)
|
330
|
+
train-core (2.1.7)
|
331
|
+
json (>= 1.8, < 3.0)
|
332
|
+
mixlib-shellout (>= 2.0, < 4.0)
|
333
|
+
net-scp (>= 1.2, < 3.0)
|
334
|
+
net-ssh (>= 2.9, < 6.0)
|
335
|
+
winrm (~> 2.0)
|
336
|
+
winrm-fs (~> 1.0)
|
354
337
|
tty-box (0.3.0)
|
355
338
|
pastel (~> 0.7.2)
|
356
339
|
strings (~> 0.1.4)
|
@@ -386,9 +369,6 @@ GEM
|
|
386
369
|
logging (>= 1.6.1, < 3.0)
|
387
370
|
nori (~> 2.0)
|
388
371
|
rubyntlm (~> 0.6.0, >= 0.6.1)
|
389
|
-
winrm-elevated (1.1.1)
|
390
|
-
winrm (~> 2.0)
|
391
|
-
winrm-fs (~> 1.0)
|
392
372
|
winrm-fs (1.3.2)
|
393
373
|
erubis (~> 2.7)
|
394
374
|
logging (>= 1.6.1, < 3.0)
|
@@ -396,6 +376,7 @@ GEM
|
|
396
376
|
winrm (~> 2.0)
|
397
377
|
wisper (2.0.0)
|
398
378
|
wmi-lite (1.0.2)
|
379
|
+
yard (0.9.19)
|
399
380
|
|
400
381
|
PLATFORMS
|
401
382
|
ruby
|
@@ -404,13 +385,16 @@ DEPENDENCIES
|
|
404
385
|
bundler
|
405
386
|
chef-apply!
|
406
387
|
chefstyle
|
388
|
+
github-markup
|
407
389
|
pry
|
408
390
|
pry-byebug
|
409
391
|
pry-stack_explorer
|
410
|
-
rake
|
411
|
-
|
412
|
-
|
392
|
+
rake (>= 10.1.0)
|
393
|
+
rb-readline
|
394
|
+
redcarpet
|
395
|
+
rspec (~> 3.0)
|
413
396
|
simplecov
|
397
|
+
yard
|
414
398
|
|
415
399
|
BUNDLED WITH
|
416
400
|
1.17.3
|
data/Rakefile
CHANGED
@@ -1,32 +1,42 @@
|
|
1
|
-
#
|
2
|
-
# Copyright:: Copyright (c) 2018 Chef Software Inc.
|
3
|
-
# License:: Apache License, Version 2.0
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
# you may not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
# See the License for the specific language governing permissions and
|
15
|
-
# limitations under the License.
|
16
|
-
#
|
17
|
-
|
18
1
|
require "bundler/gem_tasks"
|
19
2
|
|
20
|
-
|
3
|
+
begin
|
4
|
+
require "rspec/core/rake_task"
|
5
|
+
|
6
|
+
RSpec::Core::RakeTask.new do |t|
|
7
|
+
t.pattern = "spec/**/*_spec.rb"
|
8
|
+
end
|
9
|
+
rescue LoadError
|
10
|
+
desc "rspec is not installed, this task is disabled"
|
11
|
+
task :spec do
|
12
|
+
abort "rspec is not installed. bundle install first to make sure all dependencies are installed."
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
begin
|
17
|
+
require "chefstyle"
|
18
|
+
require "rubocop/rake_task"
|
19
|
+
desc "Run Chefstyle tests"
|
20
|
+
RuboCop::RakeTask.new(:style) do |task|
|
21
|
+
task.options += ["--display-cop-names", "--no-color"]
|
22
|
+
end
|
23
|
+
rescue LoadError
|
24
|
+
puts "chefstyle gem is not installed. bundle install first to make sure all dependencies are installed."
|
25
|
+
end
|
21
26
|
|
22
|
-
|
23
|
-
|
27
|
+
begin
|
28
|
+
require "yard"
|
29
|
+
YARD::Rake::YardocTask.new(:docs)
|
30
|
+
rescue LoadError
|
31
|
+
puts "yard is not available. bundle install first to make sure all dependencies are installed."
|
32
|
+
end
|
24
33
|
|
25
|
-
|
26
|
-
require "
|
27
|
-
|
28
|
-
|
29
|
-
|
34
|
+
task :console do
|
35
|
+
require "irb"
|
36
|
+
require "irb/completion"
|
37
|
+
require "chef_apply"
|
38
|
+
ARGV.clear
|
39
|
+
IRB.start
|
30
40
|
end
|
31
41
|
|
32
|
-
task
|
42
|
+
task default: [:style, :spec]
|
data/chef-apply.gemspec
CHANGED
@@ -51,20 +51,12 @@ Gem::Specification.new do |spec|
|
|
51
51
|
spec.add_dependency "train" # remote connection management over ssh, winrm
|
52
52
|
spec.add_dependency "pastel" # A color library
|
53
53
|
spec.add_dependency "tty-spinner" # Pretty output for status updates in the CLI
|
54
|
-
spec.add_dependency "chef", ">=
|
55
|
-
spec.add_dependency "chef-dk", ">=
|
54
|
+
spec.add_dependency "chef", ">= 15.0" # Needed to load cookbooks
|
55
|
+
spec.add_dependency "chef-dk", ">= 4.0"
|
56
56
|
spec.add_dependency "chef-telemetry"
|
57
57
|
spec.add_dependency "license-acceptance", "~> 1.0", ">= 1.0.11"
|
58
58
|
|
59
59
|
spec.add_development_dependency "bundler"
|
60
|
-
spec.add_development_dependency "rake"
|
61
|
-
spec.add_development_dependency "rspec"
|
62
|
-
spec.add_development_dependency "pry"
|
63
|
-
spec.add_development_dependency "simplecov"
|
64
|
-
spec.add_development_dependency "pry-byebug"
|
65
|
-
spec.add_development_dependency "pry-stack_explorer"
|
66
|
-
spec.add_development_dependency "rspec_junit_formatter"
|
67
|
-
spec.add_development_dependency "chefstyle"
|
68
60
|
|
69
61
|
spec.post_install_message = File.read(File.expand_path("../warning.txt", __FILE__))
|
70
62
|
end
|
@@ -58,7 +58,7 @@ module ChefApply
|
|
58
58
|
# Second, is there a cookbook in their local repository that matches?
|
59
59
|
require "chef/cookbook_loader"
|
60
60
|
cb_loader = Chef::CookbookLoader.new(cookbook_repo_paths)
|
61
|
-
cb_loader.
|
61
|
+
cb_loader.load_cookbooks
|
62
62
|
|
63
63
|
begin
|
64
64
|
cookbook = cb_loader[cookbook_name]
|
data/lib/chef_apply/version.rb
CHANGED
@@ -28,7 +28,7 @@ RSpec.describe ChefApply::RecipeLookup do
|
|
28
28
|
VL = Chef::Cookbook::CookbookVersionLoader
|
29
29
|
let(:version_loader) { instance_double(VL) }
|
30
30
|
let(:cookbook_version) { instance_double(Chef::CookbookVersion, root_dir: "dir", name: "name") }
|
31
|
-
let(:cookbook_loader) { instance_double(Chef::CookbookLoader,
|
31
|
+
let(:cookbook_loader) { instance_double(Chef::CookbookLoader, load_cookbooks: nil) }
|
32
32
|
|
33
33
|
describe "#split" do
|
34
34
|
it "splits a customer provided specifier into a cookbook part and possible recipe part" do
|
data/warning.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
Chef Apply is not meant to be installed as a gem. It is meant to be installed
|
2
|
-
as part of the Chef Workstation
|
2
|
+
as part of the Chef Workstation package. Please download and install
|
3
3
|
that from https://downloads.chef.io/chef-workstation/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-apply
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Software, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-cli
|
@@ -142,28 +142,28 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '15.0'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
152
|
+
version: '15.0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: chef-dk
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
159
|
+
version: '4.0'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
166
|
+
version: '4.0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: chef-telemetry
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,118 +212,6 @@ dependencies:
|
|
212
212
|
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
|
-
- !ruby/object:Gem::Dependency
|
216
|
-
name: rake
|
217
|
-
requirement: !ruby/object:Gem::Requirement
|
218
|
-
requirements:
|
219
|
-
- - ">="
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version: '0'
|
222
|
-
type: :development
|
223
|
-
prerelease: false
|
224
|
-
version_requirements: !ruby/object:Gem::Requirement
|
225
|
-
requirements:
|
226
|
-
- - ">="
|
227
|
-
- !ruby/object:Gem::Version
|
228
|
-
version: '0'
|
229
|
-
- !ruby/object:Gem::Dependency
|
230
|
-
name: rspec
|
231
|
-
requirement: !ruby/object:Gem::Requirement
|
232
|
-
requirements:
|
233
|
-
- - ">="
|
234
|
-
- !ruby/object:Gem::Version
|
235
|
-
version: '0'
|
236
|
-
type: :development
|
237
|
-
prerelease: false
|
238
|
-
version_requirements: !ruby/object:Gem::Requirement
|
239
|
-
requirements:
|
240
|
-
- - ">="
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
version: '0'
|
243
|
-
- !ruby/object:Gem::Dependency
|
244
|
-
name: pry
|
245
|
-
requirement: !ruby/object:Gem::Requirement
|
246
|
-
requirements:
|
247
|
-
- - ">="
|
248
|
-
- !ruby/object:Gem::Version
|
249
|
-
version: '0'
|
250
|
-
type: :development
|
251
|
-
prerelease: false
|
252
|
-
version_requirements: !ruby/object:Gem::Requirement
|
253
|
-
requirements:
|
254
|
-
- - ">="
|
255
|
-
- !ruby/object:Gem::Version
|
256
|
-
version: '0'
|
257
|
-
- !ruby/object:Gem::Dependency
|
258
|
-
name: simplecov
|
259
|
-
requirement: !ruby/object:Gem::Requirement
|
260
|
-
requirements:
|
261
|
-
- - ">="
|
262
|
-
- !ruby/object:Gem::Version
|
263
|
-
version: '0'
|
264
|
-
type: :development
|
265
|
-
prerelease: false
|
266
|
-
version_requirements: !ruby/object:Gem::Requirement
|
267
|
-
requirements:
|
268
|
-
- - ">="
|
269
|
-
- !ruby/object:Gem::Version
|
270
|
-
version: '0'
|
271
|
-
- !ruby/object:Gem::Dependency
|
272
|
-
name: pry-byebug
|
273
|
-
requirement: !ruby/object:Gem::Requirement
|
274
|
-
requirements:
|
275
|
-
- - ">="
|
276
|
-
- !ruby/object:Gem::Version
|
277
|
-
version: '0'
|
278
|
-
type: :development
|
279
|
-
prerelease: false
|
280
|
-
version_requirements: !ruby/object:Gem::Requirement
|
281
|
-
requirements:
|
282
|
-
- - ">="
|
283
|
-
- !ruby/object:Gem::Version
|
284
|
-
version: '0'
|
285
|
-
- !ruby/object:Gem::Dependency
|
286
|
-
name: pry-stack_explorer
|
287
|
-
requirement: !ruby/object:Gem::Requirement
|
288
|
-
requirements:
|
289
|
-
- - ">="
|
290
|
-
- !ruby/object:Gem::Version
|
291
|
-
version: '0'
|
292
|
-
type: :development
|
293
|
-
prerelease: false
|
294
|
-
version_requirements: !ruby/object:Gem::Requirement
|
295
|
-
requirements:
|
296
|
-
- - ">="
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
version: '0'
|
299
|
-
- !ruby/object:Gem::Dependency
|
300
|
-
name: rspec_junit_formatter
|
301
|
-
requirement: !ruby/object:Gem::Requirement
|
302
|
-
requirements:
|
303
|
-
- - ">="
|
304
|
-
- !ruby/object:Gem::Version
|
305
|
-
version: '0'
|
306
|
-
type: :development
|
307
|
-
prerelease: false
|
308
|
-
version_requirements: !ruby/object:Gem::Requirement
|
309
|
-
requirements:
|
310
|
-
- - ">="
|
311
|
-
- !ruby/object:Gem::Version
|
312
|
-
version: '0'
|
313
|
-
- !ruby/object:Gem::Dependency
|
314
|
-
name: chefstyle
|
315
|
-
requirement: !ruby/object:Gem::Requirement
|
316
|
-
requirements:
|
317
|
-
- - ">="
|
318
|
-
- !ruby/object:Gem::Version
|
319
|
-
version: '0'
|
320
|
-
type: :development
|
321
|
-
prerelease: false
|
322
|
-
version_requirements: !ruby/object:Gem::Requirement
|
323
|
-
requirements:
|
324
|
-
- - ">="
|
325
|
-
- !ruby/object:Gem::Version
|
326
|
-
version: '0'
|
327
215
|
description: Ad-hoc management of individual nodes and devices.
|
328
216
|
email:
|
329
217
|
- workstation@chef.io
|
@@ -420,7 +308,7 @@ licenses:
|
|
420
308
|
metadata: {}
|
421
309
|
post_install_message: |
|
422
310
|
Chef Apply is not meant to be installed as a gem. It is meant to be installed
|
423
|
-
as part of the Chef Workstation
|
311
|
+
as part of the Chef Workstation package. Please download and install
|
424
312
|
that from https://downloads.chef.io/chef-workstation/
|
425
313
|
rdoc_options: []
|
426
314
|
require_paths:
|