chef-dk 3.5.13 → 3.6.57

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecca76bc9a30982fdd0d66356688d489ba1f1c6d7d329d4e5c94872131b2597d
4
- data.tar.gz: ac04e0272e7bde633fdaeadb8928f3087f3d6372fc1b432df4e7bb794fd2a5b0
3
+ metadata.gz: 5efe53aaa527d1bacb2c39fa87a4bc8fbcfcf695371957521cf23b64e132fdec
4
+ data.tar.gz: fae96dc2073d15083a8469714e91925c85b7e3dd70b8ba0480b47c27ac62cef1
5
5
  SHA512:
6
- metadata.gz: a4aad5584e54344fc3df82de2f4bc65560cc5a6e150442b6c7c5d2f8d4ee8466c96d18d64ff15a8e5ad6172f40aaab5255011c0e973d13bfe442c7355d6eef1e
7
- data.tar.gz: abc2f5e0b9a6bac97d84cea1e80e2cbae43352666fafb2d3f145b8aaa391c747fec4372a6da7d304188561fc746d0a59ff56bbee1d9ca3d387842d31bf53139b
6
+ metadata.gz: 5abd2fba57f8cd7da933c7b4817dadefba40170ef9028d03fe738d3b60abf3dfc868e605f435964fd008990299d304974db54908722e53ac752f9d6e02e8930f
7
+ data.tar.gz: 24d4e637fcafcdfca407736d8950dc2a18902021eb6b8ad89648c83e871d97e83aee0d689bffd23f8e4d659e3db15189a5f290c60466eebd498a28c587384517
data/Gemfile CHANGED
@@ -22,9 +22,14 @@ gemspec
22
22
  gem "bundler"
23
23
 
24
24
  group(:omnibus_package, :development, :test) do
25
- gem "rake"
25
+ # we pin these gems as they are installed in the ruby source and if we let them
26
+ # float we'll end up with 2 copies shipped in DK. When we bump Ruby we need to
27
+ # look at these pins and adjust them
28
+ gem "rake", "<= 12.3.0"
29
+ gem "rdoc", "<= 6.0.1"
30
+ gem "minitest", "<= 5.10.3"
31
+
26
32
  gem "pry"
27
- gem "rdoc"
28
33
  gem "yard"
29
34
  gem "guard"
30
35
  gem "cookstyle", ">= 2.0.0"
@@ -52,7 +57,7 @@ group(:omnibus_package) do
52
57
  # gems to Rubygems now, so letting this float on latest should always give us the latest
53
58
  # stable release. May have to re-pin around major version bumping time, or during patch
54
59
  # fixes.
55
- gem "chef", "= 14.7.17"
60
+ gem "chef", "= 14.8.12"
56
61
  gem "cheffish", ">= 14.0.1"
57
62
  gem "chefspec", ">= 7.3.0"
58
63
  gem "fauxhai", ">= 6.7"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chef-dk (3.5.13)
4
+ chef-dk (3.6.57)
5
5
  addressable (>= 2.3.5, < 2.6)
6
6
  chef (~> 14.0)
7
7
  chef-provisioning (~> 2.0)
@@ -17,7 +17,7 @@ PATH
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- activesupport (5.2.1)
20
+ activesupport (5.2.2)
21
21
  concurrent-ruby (~> 1.0, >= 1.0.2)
22
22
  i18n (>= 0.7, < 2)
23
23
  minitest (~> 5.1)
@@ -28,15 +28,15 @@ GEM
28
28
  appbundler (0.11.6)
29
29
  mixlib-cli (~> 1.4)
30
30
  mixlib-shellout (~> 2.0)
31
- artifactory (2.8.2)
31
+ artifactory (3.0.0)
32
32
  ast (2.4.0)
33
- aws-sdk (2.11.171)
34
- aws-sdk-resources (= 2.11.171)
35
- aws-sdk-core (2.11.171)
33
+ aws-sdk (2.11.197)
34
+ aws-sdk-resources (= 2.11.197)
35
+ aws-sdk-core (2.11.197)
36
36
  aws-sigv4 (~> 1.0)
37
37
  jmespath (~> 1.0)
38
- aws-sdk-resources (2.11.171)
39
- aws-sdk-core (= 2.11.171)
38
+ aws-sdk-resources (2.11.197)
39
+ aws-sdk-core (= 2.11.197)
40
40
  aws-sigv4 (1.0.3)
41
41
  axiom-types (0.1.1)
42
42
  descendants_tracker (~> 0.0.4)
@@ -46,12 +46,12 @@ GEM
46
46
  ms_rest_azure (~> 0.11.0)
47
47
  azure_mgmt_key_vault (0.17.2)
48
48
  ms_rest_azure (~> 0.11.0)
49
- azure_mgmt_network (0.18.0)
49
+ azure_mgmt_network (0.18.2)
50
50
  ms_rest_azure (~> 0.11.0)
51
51
  azure_mgmt_resources (0.17.2)
52
52
  ms_rest_azure (~> 0.11.0)
53
53
  backports (3.11.4)
54
- berkshelf (7.0.6)
54
+ berkshelf (7.0.7)
55
55
  chef (>= 13.6.52)
56
56
  chef-config
57
57
  cleanroom (~> 1.0)
@@ -68,10 +68,10 @@ GEM
68
68
  debug_inspector (>= 0.0.1)
69
69
  builder (3.2.3)
70
70
  byebug (10.0.2)
71
- chef (14.7.17)
71
+ chef (14.8.12)
72
72
  addressable
73
73
  bundler (>= 1.10)
74
- chef-config (= 14.7.17)
74
+ chef-config (= 14.8.12)
75
75
  chef-zero (>= 13.0)
76
76
  diff-lcs (~> 1.2, >= 1.2.4)
77
77
  erubis (~> 2.7)
@@ -98,10 +98,10 @@ GEM
98
98
  specinfra (~> 2.10)
99
99
  syslog-logger (~> 1.6)
100
100
  uuidtools (~> 2.1.5)
101
- chef (14.7.17-universal-mingw32)
101
+ chef (14.8.12-universal-mingw32)
102
102
  addressable
103
103
  bundler (>= 1.10)
104
- chef-config (= 14.7.17)
104
+ chef-config (= 14.8.12)
105
105
  chef-zero (>= 13.0)
106
106
  diff-lcs (~> 1.2, >= 1.2.4)
107
107
  erubis (~> 2.7)
@@ -141,10 +141,10 @@ GEM
141
141
  win32-taskscheduler (~> 2.0)
142
142
  windows-api (~> 0.4.4)
143
143
  wmi-lite (~> 1.0)
144
- chef-api (0.8.0)
144
+ chef-api (0.9.0)
145
145
  logify (~> 0.1)
146
146
  mime-types
147
- chef-apply (0.2.2)
147
+ chef-apply (0.2.4)
148
148
  chef (>= 14.0)
149
149
  chef-dk (>= 3.0)
150
150
  chef-telemetry
@@ -157,13 +157,13 @@ GEM
157
157
  toml-rb
158
158
  train
159
159
  tty-spinner
160
- chef-config (14.7.17)
160
+ chef-config (14.8.12)
161
161
  addressable
162
162
  fuzzyurl
163
163
  mixlib-config (>= 2.2.12, < 3.0)
164
164
  mixlib-shellout (~> 2.0)
165
165
  tomlrb (~> 1.2)
166
- chef-provisioning (2.7.2)
166
+ chef-provisioning (2.7.4)
167
167
  cheffish (>= 4.0, < 15.0)
168
168
  inifile (>= 2.0.2)
169
169
  mixlib-install (>= 1.0)
@@ -173,12 +173,12 @@ GEM
173
173
  winrm (~> 2.0)
174
174
  winrm-elevated (~> 1.0)
175
175
  winrm-fs (~> 1.0)
176
- chef-provisioning-aws (3.0.6)
176
+ chef-provisioning-aws (3.0.7)
177
177
  aws-sdk (>= 2.2.18, < 3.0)
178
178
  chef-provisioning (>= 1.0, < 3.0)
179
179
  retryable (~> 2.0, >= 2.0.1)
180
180
  ubuntu_ami (~> 0.4, >= 0.4.1)
181
- chef-provisioning-fog (0.26.1)
181
+ chef-provisioning-fog (0.26.3)
182
182
  chef-provisioning (>= 1.0, < 3.0)
183
183
  cheffish (>= 13.1.0, < 15.0)
184
184
  fog-digitalocean
@@ -190,7 +190,7 @@ GEM
190
190
  fog-xenserver
191
191
  retryable
192
192
  winrm-elevated
193
- chef-sugar (4.1.0)
193
+ chef-sugar (5.0.0)
194
194
  chef-telemetry (0.1.0)
195
195
  chef-config
196
196
  concurrent-ruby (~> 1.0)
@@ -206,7 +206,7 @@ GEM
206
206
  cheffish (14.0.4)
207
207
  chef-zero (~> 14.0)
208
208
  net-ssh
209
- chefspec (7.3.2)
209
+ chefspec (7.3.4)
210
210
  chef (>= 12.16.42)
211
211
  fauxhai (>= 4)
212
212
  rspec (~> 3.0)
@@ -217,10 +217,10 @@ GEM
217
217
  coderay (1.1.2)
218
218
  coercible (1.0.0)
219
219
  descendants_tracker (~> 0.0.1)
220
- concurrent-ruby (1.1.3)
220
+ concurrent-ruby (1.1.4)
221
221
  cookbook-omnifetch (0.8.0)
222
222
  mixlib-archive (~> 0.4)
223
- cookstyle (3.0.0)
223
+ cookstyle (3.0.2)
224
224
  rubocop (= 0.55.0)
225
225
  cucumber (3.1.2)
226
226
  builder (>= 2.1.2)
@@ -257,9 +257,9 @@ GEM
257
257
  multi_json
258
258
  domain_name (0.5.20180417)
259
259
  unf (>= 0.0.5, < 1.0.0)
260
- droplet_kit (2.6.0)
260
+ droplet_kit (2.8.0)
261
261
  activesupport (> 3.0, < 6)
262
- faraday (~> 0.9)
262
+ faraday (~> 0.15)
263
263
  kartograph (~> 0.2.3)
264
264
  resource_kit (~> 0.1.5)
265
265
  virtus (~> 1.0.3)
@@ -267,19 +267,19 @@ GEM
267
267
  equatable (0.5.0)
268
268
  erubis (2.7.0)
269
269
  excon (0.62.0)
270
- faraday (0.15.3)
270
+ faraday (0.15.4)
271
271
  multipart-post (>= 1.2, < 3)
272
272
  faraday-cookie_jar (0.0.6)
273
273
  faraday (>= 0.7.4)
274
274
  http-cookie (~> 1.0.0)
275
275
  faraday_middleware (0.12.2)
276
276
  faraday (>= 0.7.4, < 1.0)
277
- fauxhai (6.9.1)
277
+ fauxhai (6.10.0)
278
278
  net-ssh
279
279
  ffi (1.9.25)
280
280
  ffi (1.9.25-x64-mingw32)
281
281
  ffi (1.9.25-x86-mingw32)
282
- ffi-libarchive (0.4.4)
282
+ ffi-libarchive (0.4.6)
283
283
  ffi (~> 1.0)
284
284
  ffi-rzmq (2.0.6)
285
285
  ffi-rzmq-core (>= 1.0.6)
@@ -332,7 +332,7 @@ GEM
332
332
  fog-xml (0.1.3)
333
333
  fog-core
334
334
  nokogiri (>= 1.5.11, < 2.0.0)
335
- foodcritic (14.3.0)
335
+ foodcritic (15.1.0)
336
336
  cucumber-core (>= 1.3, < 4.0)
337
337
  erubis
338
338
  ffi-yajl (~> 2.0)
@@ -387,12 +387,12 @@ GEM
387
387
  http-form_data (1.0.3)
388
388
  http_parser.rb (0.6.0)
389
389
  httpclient (2.8.3)
390
- i18n (1.1.1)
390
+ i18n (1.3.0)
391
391
  concurrent-ruby (~> 1.0)
392
392
  ice_nine (0.11.2)
393
393
  inifile (3.0.0)
394
394
  iniparse (1.4.4)
395
- inspec (3.0.52)
395
+ inspec (3.2.6)
396
396
  addressable (~> 2.4)
397
397
  faraday (>= 0.9.0)
398
398
  faraday_middleware (~> 0.12.2)
@@ -413,16 +413,18 @@ GEM
413
413
  term-ansicolor
414
414
  thor (~> 0.20)
415
415
  tomlrb (~> 1.2)
416
- train (~> 1.5, >= 1.5.6)
416
+ train (~> 1.5, >= 1.6.3)
417
+ tty-prompt (~> 0.17)
418
+ tty-table (~> 0.10)
417
419
  ipaddress (0.8.3)
418
420
  iso8601 (0.12.1)
419
421
  jmespath (1.4.0)
420
422
  json (2.1.0)
421
423
  jwt (2.1.0)
422
424
  kartograph (0.2.7)
423
- kitchen-azurerm (0.14.5)
424
- azure_mgmt_network (~> 0.15, >= 0.15.0)
425
- azure_mgmt_resources (~> 0.15, >= 0.15.0)
425
+ kitchen-azurerm (0.14.7)
426
+ azure_mgmt_network (~> 0.18, >= 0.18.2)
427
+ azure_mgmt_resources (~> 0.17, >= 0.17.2)
426
428
  inifile (~> 3.0, >= 3.0.0)
427
429
  sshkey (~> 1, >= 1.0.0)
428
430
  kitchen-digitalocean (0.10.1)
@@ -432,13 +434,13 @@ GEM
432
434
  docker-api (~> 1.33)
433
435
  lockfile (~> 2.1)
434
436
  test-kitchen (~> 1.15)
435
- kitchen-ec2 (2.3.1)
437
+ kitchen-ec2 (2.4.0)
436
438
  aws-sdk (~> 2)
437
439
  excon
438
440
  multi_json
439
441
  retryable (~> 2.0)
440
442
  test-kitchen (~> 1.4, >= 1.4.1)
441
- kitchen-google (2.0.0)
443
+ kitchen-google (2.0.1)
442
444
  gcewinpass (~> 1.1)
443
445
  google-api-client (~> 0.19)
444
446
  test-kitchen
@@ -451,20 +453,20 @@ GEM
451
453
  kitchen-vagrant (1.3.6)
452
454
  test-kitchen (~> 1.4)
453
455
  knife-acl (1.0.3)
454
- knife-cloud (1.2.1)
455
- chef (>= 0.10.10)
456
- knife-windows (>= 0.5.14)
456
+ knife-cloud (1.2.3)
457
+ excon (>= 0.50)
458
+ knife-windows (>= 1.0)
457
459
  mixlib-shellout
458
- knife-ec2 (0.19.10)
460
+ knife-ec2 (0.19.16)
459
461
  fog-aws (>= 1, < 4)
460
462
  knife-windows (~> 1.0)
461
- knife-google (3.3.3)
463
+ knife-google (3.3.7)
462
464
  gcewinpass (~> 1.1)
463
465
  google-api-client (>= 0.19.8, < 0.25)
464
466
  knife-cloud (~> 1.2.0)
465
- knife-opc (0.4.0)
466
- knife-push (1.0.3)
467
- chef (>= 12.7.2)
467
+ knife-opc (0.4.1)
468
+ knife-push (1.1.2)
469
+ chef (>= 13.0)
468
470
  knife-spork (1.7.2)
469
471
  app_conf (>= 0.4.0)
470
472
  chef (>= 11.0.0)
@@ -497,27 +499,27 @@ GEM
497
499
  mime-types (3.2.2)
498
500
  mime-types-data (~> 3.2015)
499
501
  mime-types-data (3.2018.0812)
500
- mini_portile2 (2.3.0)
502
+ mini_portile2 (2.4.0)
501
503
  minitar (0.7)
502
- minitest (5.11.3)
503
- mixlib-archive (0.4.18)
504
+ minitest (5.10.3)
505
+ mixlib-archive (0.4.19)
504
506
  mixlib-log
505
- mixlib-archive (0.4.18-universal-mingw32)
507
+ mixlib-archive (0.4.19-universal-mingw32)
506
508
  mixlib-log
507
509
  mixlib-authentication (2.1.1)
508
510
  mixlib-cli (1.7.0)
509
- mixlib-config (2.2.13)
511
+ mixlib-config (2.2.18)
510
512
  tomlrb
511
513
  mixlib-install (3.11.5)
512
514
  mixlib-shellout
513
515
  mixlib-versioning
514
516
  thor
515
- mixlib-log (2.0.4)
516
- mixlib-shellout (2.4.0)
517
- mixlib-shellout (2.4.0-universal-mingw32)
517
+ mixlib-log (2.0.9)
518
+ mixlib-shellout (2.4.4)
519
+ mixlib-shellout (2.4.4-universal-mingw32)
518
520
  win32-process (~> 0.8.2)
519
521
  wmi-lite (~> 1.0)
520
- mixlib-versioning (1.2.2)
522
+ mixlib-versioning (1.2.7)
521
523
  molinillo (0.6.6)
522
524
  ms_rest (0.7.3)
523
525
  concurrent-ruby (~> 1.0)
@@ -531,6 +533,7 @@ GEM
531
533
  multi_json (1.13.1)
532
534
  multi_test (0.1.2)
533
535
  multipart-post (2.0.0)
536
+ necromancer (0.4.0)
534
537
  nenv (0.3.0)
535
538
  net-scp (1.2.1)
536
539
  net-ssh (>= 2.6.5)
@@ -544,19 +547,19 @@ GEM
544
547
  net-ssh-gateway (>= 1.2.0)
545
548
  net-telnet (0.1.1)
546
549
  netaddr (1.5.1)
547
- nokogiri (1.8.5)
548
- mini_portile2 (~> 2.3.0)
549
- nokogiri (1.8.5-x64-mingw32)
550
- mini_portile2 (~> 2.3.0)
551
- nokogiri (1.8.5-x86-mingw32)
552
- mini_portile2 (~> 2.3.0)
550
+ nokogiri (1.9.1)
551
+ mini_portile2 (~> 2.4.0)
552
+ nokogiri (1.9.1-x64-mingw32)
553
+ mini_portile2 (~> 2.4.0)
554
+ nokogiri (1.9.1-x86-mingw32)
555
+ mini_portile2 (~> 2.4.0)
553
556
  nori (2.6.0)
554
557
  notiffany (0.1.1)
555
558
  nenv (~> 0.1)
556
559
  shellany (~> 0.0)
557
560
  octokit (4.13.0)
558
561
  sawyer (~> 0.8.0, >= 0.5.3)
559
- ohai (14.6.2)
562
+ ohai (14.8.10)
560
563
  chef-config (>= 12.8, < 15)
561
564
  ffi (~> 1.9)
562
565
  ffi-yajl (~> 2.2)
@@ -582,7 +585,7 @@ GEM
582
585
  pastel (0.7.2)
583
586
  equatable (~> 0.5.0)
584
587
  tty-color (~> 0.4.0)
585
- plist (3.4.0)
588
+ plist (3.5.0)
586
589
  polyglot (0.3.5)
587
590
  powerpack (0.1.2)
588
591
  proxifier (1.0.3)
@@ -604,17 +607,17 @@ GEM
604
607
  r18n-core (= 3.2.0)
605
608
  rack (2.0.6)
606
609
  rainbow (3.0.0)
607
- rake (12.3.1)
610
+ rake (12.3.0)
608
611
  rb-fsevent (0.10.3)
609
- rb-inotify (0.9.10)
610
- ffi (>= 0.5.0, < 2)
612
+ rb-inotify (0.10.0)
613
+ ffi (~> 1.0)
611
614
  rb-readline (0.5.5)
612
615
  rbvmomi (1.13.0)
613
616
  builder (~> 3.0)
614
617
  json (>= 1.8)
615
618
  nokogiri (~> 1.5)
616
619
  trollop (~> 2.1)
617
- rdoc (6.0.4)
620
+ rdoc (6.0.1)
618
621
  rdp-ruby-wmi (0.3.1)
619
622
  representable (3.0.4)
620
623
  declarative (< 0.1.0)
@@ -660,7 +663,7 @@ GEM
660
663
  sawyer (0.8.1)
661
664
  addressable (>= 2.3.5, < 2.6)
662
665
  faraday (~> 0.8, < 1.0)
663
- semverse (2.0.0)
666
+ semverse (3.0.0)
664
667
  serverspec (2.41.3)
665
668
  multi_json
666
669
  rspec (~> 3.0)
@@ -674,25 +677,30 @@ GEM
674
677
  jwt (>= 1.5, < 3.0)
675
678
  multi_json (~> 1.10)
676
679
  slop (3.6.0)
677
- solve (4.0.0)
680
+ solve (4.0.2)
678
681
  molinillo (~> 0.6)
679
- semverse (>= 1.1, < 3.0)
680
- specinfra (2.76.3)
682
+ semverse (>= 1.1, < 4.0)
683
+ specinfra (2.76.5)
681
684
  net-scp
682
685
  net-ssh (>= 2.7)
683
686
  net-telnet (= 0.1.1)
684
687
  sfl
685
688
  sshkey (1.9.0)
686
689
  sslshake (1.2.0)
687
- stove (6.0.0)
690
+ stove (7.0.1)
688
691
  chef-api (~> 0.5)
689
692
  logify (~> 0.2)
693
+ strings (0.1.4)
694
+ strings-ansi (~> 0.1.0)
695
+ unicode-display_width (~> 1.4.0)
696
+ unicode_utils (~> 1.4.0)
697
+ strings-ansi (0.1.0)
690
698
  structured_warnings (0.3.0)
691
699
  syslog-logger (1.6.8)
692
700
  systemu (2.6.5)
693
701
  term-ansicolor (1.7.0)
694
702
  tins (~> 1.0)
695
- test-kitchen (1.23.2)
703
+ test-kitchen (1.24.0)
696
704
  mixlib-install (~> 3.6)
697
705
  mixlib-shellout (>= 1.2, < 3.0)
698
706
  net-scp (~> 1.1)
@@ -705,11 +713,12 @@ GEM
705
713
  thor (0.20.3)
706
714
  thread_safe (0.3.6)
707
715
  timeliness (0.3.8)
716
+ timers (4.2.0)
708
717
  tins (1.20.2)
709
718
  toml-rb (1.1.2)
710
719
  citrus (~> 3.0, > 3.0)
711
- tomlrb (1.2.7)
712
- train (1.5.6)
720
+ tomlrb (1.2.8)
721
+ train (1.6.3)
713
722
  aws-sdk (~> 2)
714
723
  azure_graph_rbac (~> 0.16)
715
724
  azure_mgmt_key_vault (~> 0.17)
@@ -729,18 +738,36 @@ GEM
729
738
  trollop (2.9.9)
730
739
  tty-color (0.4.3)
731
740
  tty-cursor (0.6.0)
732
- tty-spinner (0.8.0)
733
- tty-cursor (>= 0.5.0)
741
+ tty-prompt (0.18.0)
742
+ necromancer (~> 0.4.0)
743
+ pastel (~> 0.7.0)
744
+ timers (~> 4.0)
745
+ tty-cursor (~> 0.6.0)
746
+ tty-reader (~> 0.5.0)
747
+ tty-reader (0.5.0)
748
+ tty-cursor (~> 0.6.0)
749
+ tty-screen (~> 0.6.4)
750
+ wisper (~> 2.0.0)
751
+ tty-screen (0.6.5)
752
+ tty-spinner (0.9.0)
753
+ tty-cursor (~> 0.6.0)
754
+ tty-table (0.10.0)
755
+ equatable (~> 0.5.0)
756
+ necromancer (~> 0.4.0)
757
+ pastel (~> 0.7.2)
758
+ strings (~> 0.1.0)
759
+ tty-screen (~> 0.6.4)
734
760
  tzinfo (1.2.5)
735
761
  thread_safe (~> 0.1)
736
762
  uber (0.1.0)
737
- ubuntu_ami (0.4.1)
763
+ ubuntu_ami (0.4.2)
738
764
  unf (0.1.4)
739
765
  unf_ext
740
766
  unf_ext (0.0.7.5)
741
767
  unf_ext (0.0.7.5-x64-mingw32)
742
768
  unf_ext (0.0.7.5-x86-mingw32)
743
- unicode-display_width (1.4.0)
769
+ unicode-display_width (1.4.1)
770
+ unicode_utils (1.4.0)
744
771
  uuidtools (2.1.5)
745
772
  virtus (1.0.5)
746
773
  axiom-types (~> 0.1)
@@ -776,7 +803,7 @@ GEM
776
803
  windows-pr (1.2.6)
777
804
  win32-api (>= 1.4.5)
778
805
  windows-api (>= 0.4.0)
779
- winrm (2.3.0)
806
+ winrm (2.3.1)
780
807
  builder (>= 2.1.2)
781
808
  erubis (~> 2.7)
782
809
  gssapi (~> 1.2)
@@ -785,15 +812,16 @@ GEM
785
812
  logging (>= 1.6.1, < 3.0)
786
813
  nori (~> 2.0)
787
814
  rubyntlm (~> 0.6.0, >= 0.6.1)
788
- winrm-elevated (1.1.0)
815
+ winrm-elevated (1.1.1)
789
816
  winrm (~> 2.0)
790
817
  winrm-fs (~> 1.0)
791
- winrm-fs (1.3.1)
818
+ winrm-fs (1.3.2)
792
819
  erubis (~> 2.7)
793
820
  logging (>= 1.6.1, < 3.0)
794
821
  rubyzip (~> 1.1)
795
822
  winrm (~> 2.0)
796
- wmi-lite (1.0.0)
823
+ wisper (2.0.0)
824
+ wmi-lite (1.0.1)
797
825
  xmlrpc (0.3.0)
798
826
  yard (0.9.16)
799
827
 
@@ -807,7 +835,7 @@ DEPENDENCIES
807
835
  artifactory
808
836
  berkshelf (>= 7.0.5)
809
837
  bundler
810
- chef (= 14.7.17)
838
+ chef (= 14.8.12)
811
839
  chef-apply
812
840
  chef-dk!
813
841
  chef-provisioning (>= 2.7.1)
@@ -847,6 +875,7 @@ DEPENDENCIES
847
875
  knife-vsphere (>= 2.1.1)
848
876
  knife-windows (>= 1.9.1)
849
877
  listen
878
+ minitest (<= 5.10.3)
850
879
  mixlib-archive (>= 0.4.16)
851
880
  mixlib-install
852
881
  mixlib-versioning
@@ -858,9 +887,9 @@ DEPENDENCIES
858
887
  pry-byebug
859
888
  pry-remote
860
889
  pry-stack_explorer
861
- rake
890
+ rake (<= 12.3.0)
862
891
  rb-readline
863
- rdoc
892
+ rdoc (<= 6.0.1)
864
893
  rdp-ruby-wmi
865
894
  rspec-core (~> 3.0)
866
895
  rspec-expectations (~> 3.0)
@@ -883,4 +912,4 @@ DEPENDENCIES
883
912
  yard
884
913
 
885
914
  BUNDLED WITH
886
- 1.17.1
915
+ 1.17.2
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Copyright (c) 2016 Chef Software Inc.
2
+ # Copyright:: Copyright (c) 2016-2018 Chef Software Inc.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,7 +15,6 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "bundler/gem_tasks"
19
18
  require_relative "tasks/dependencies"
20
19
  require_relative "tasks/announce"
21
20
 
@@ -31,8 +31,7 @@ Gem::Specification.new do |gem|
31
31
 
32
32
  gem.required_ruby_version = ">= 2.4"
33
33
 
34
- gem.files = %w{Rakefile LICENSE README.md warning.txt} +
35
- %w{omnibus_overrides.rb} +
34
+ gem.files = %w{Rakefile LICENSE warning.txt} +
36
35
  Dir.glob("Gemfile*") + # Includes Gemfile and locks
37
36
  Dir.glob("*.gemspec") +
38
37
  Dir.glob("{lib,spec,acceptance,tasks}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
@@ -42,6 +42,11 @@ module ChefDK
42
42
  boolean: true,
43
43
  default: nil
44
44
 
45
+ option :kitchen,
46
+ long: "--kitchen CONFIGURATION",
47
+ description: "Generate cookbooks with a specific kitchen configuration (dokken|vagrant) - defaults to vagrant",
48
+ default: "vagrant"
49
+
45
50
  option :policy,
46
51
  short: "-P",
47
52
  long: "--policy",
@@ -131,6 +136,11 @@ module ChefDK
131
136
 
132
137
  Generator.add_attr_to_context(:use_berkshelf, berks_mode?)
133
138
  Generator.add_attr_to_context(:pipeline, pipeline)
139
+ Generator.add_attr_to_context(:kitchen, kitchen)
140
+ end
141
+
142
+ def kitchen
143
+ config[:kitchen]
134
144
  end
135
145
 
136
146
  def pipeline
@@ -72,7 +72,10 @@ end
72
72
 
73
73
  # Test Kitchen
74
74
  template "#{cookbook_dir}/.kitchen.yml" do
75
- if context.use_berkshelf
75
+ if context.kitchen == 'dokken'
76
+ # kitchen-dokken configuration works with berkshelf and policyfiles
77
+ source 'kitchen_dokken.yml.erb'
78
+ elsif context.use_berkshelf
76
79
  source 'kitchen.yml.erb'
77
80
  else
78
81
  source 'kitchen_policyfile.yml.erb'
@@ -0,0 +1,31 @@
1
+ ---
2
+ driver:
3
+ name: dokken
4
+
5
+ provisioner:
6
+ name: dokken
7
+
8
+ transport:
9
+ name: dokken
10
+
11
+ verifier:
12
+ name: inspec
13
+
14
+ platforms:
15
+ # @see https://github.com/someara/dokken-images
16
+ # @see https://hub.docker.com/r/dokken/
17
+ - name: ubuntu-16.04
18
+ driver:
19
+ image: dokken/ubuntu-16.04
20
+ - name: centos-7
21
+ driver:
22
+ image: dokken/centos-7
23
+
24
+ suites:
25
+ - name: default
26
+ run_list:
27
+ - recipe[<%= cookbook_name %>::default]
28
+ verifier:
29
+ inspec_tests:
30
+ - test/integration/default
31
+ attributes:
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module ChefDK
19
- VERSION = "3.5.13".freeze
19
+ VERSION = "3.6.57".freeze
20
20
  end
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: 3.5.13
4
+ version: 3.6.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel DeLeo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-11-16 00:00:00.000000000 Z
13
+ date: 2018-12-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mixlib-cli
@@ -239,7 +239,6 @@ files:
239
239
  - Gemfile
240
240
  - Gemfile.lock
241
241
  - LICENSE
242
- - README.md
243
242
  - Rakefile
244
243
  - acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml
245
244
  - acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml
@@ -419,6 +418,7 @@ files:
419
418
  - lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
420
419
  - lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb
421
420
  - lib/chef-dk/skeletons/code_generator/templates/default/kitchen.yml.erb
421
+ - lib/chef-dk/skeletons/code_generator/templates/default/kitchen_dokken.yml.erb
422
422
  - lib/chef-dk/skeletons/code_generator/templates/default/kitchen_policyfile.yml.erb
423
423
  - lib/chef-dk/skeletons/code_generator/templates/default/metadata.rb.erb
424
424
  - lib/chef-dk/skeletons/code_generator/templates/default/recipe.rb.erb
@@ -429,7 +429,6 @@ files:
429
429
  - lib/chef-dk/ui.rb
430
430
  - lib/chef-dk/version.rb
431
431
  - lib/kitchen/provisioner/policyfile_zero.rb
432
- - omnibus_overrides.rb
433
432
  - spec/shared/a_file_generator.rb
434
433
  - spec/shared/a_generated_file.rb
435
434
  - spec/shared/command_with_ui_object.rb
data/README.md DELETED
@@ -1,335 +0,0 @@
1
- # Chef Development Kit
2
-
3
- [![Build Status Master](https://travis-ci.org/chef/chef-dk.svg?branch=master)](https://travis-ci.org/chef/chef-dk)
4
- [![Build Status Master](https://ci.appveyor.com/api/projects/status/github/chef/chef-dk?branch=master&svg=true&passingText=master%20-%20Ok&pendingText=master%20-%20Pending&failingText=master%20-%20Failing)](https://ci.appveyor.com/project/Chef/chef-dk/branch/master)
5
- [![](https://img.shields.io/badge/Release%20Policy-Cadence%20Release-brightgreen.svg)](https://github.com/chef/chef-rfc/blob/master/rfc086-chef-oss-project-policies.md#cadence-release)
6
- [![Docker Stars](https://img.shields.io/docker/stars/chef/chefdk.svg?maxAge=2592000)](https://hub.docker.com/r/chef/chefdk)
7
- [![Docker Pulls](https://img.shields.io/docker/pulls/chef/chefdk.svg?maxAge=2592000)](https://hub.docker.com/r/chef/chefdk)
8
-
9
- Chef Development Kit (ChefDK) brings Chef and the development tools developed by the Chef Community together and acts as the consistent interface to this awesomeness. This awesomeness is composed of:
10
-
11
- * [Chef][]
12
- * [Berkshelf][]
13
- * [Test Kitchen][]
14
- * [ChefSpec][]
15
- * [Foodcritic][]
16
- * [Cookstyle][]
17
- * [Delivery CLI][]
18
- * [Push Jobs Client][]
19
-
20
- This repository contains the code for the `chef` command. The full
21
- package is built with omnibus. Project and component build definitions
22
- are in the omnibus directory in this repository.
23
-
24
- ## Installation
25
-
26
- You can get the [latest release of ChefDK from the downloads page][ChefDK].
27
-
28
- On Mac OS X, you can also use [homebrew-cask](https://caskroom.github.io/)
29
- to `brew cask install chef/chef/chefdk`.
30
-
31
- Once you install the package, the `chef-client` suite, `berks`,
32
- `kitchen`, and this application (`chef`) will be symlinked into your
33
- system bin directory, ready to use.
34
-
35
- ### Pre-release Candidates
36
-
37
- The following commands will download the latest ChefDK package from the `current` channel. The `current` channel holds builds that have passed testing and are candidates for release.
38
- More information about flags supported by install.sh available here: https://docs.chef.io/api_omnitruck.html
39
-
40
- #### Linux and OS/X:
41
-
42
- In a terminal, run:
43
-
44
- `curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -c current -P chefdk`
45
-
46
- To download a specific version, append the `-v` flag. EG, `-v 0.9.0`.
47
-
48
- #### Windows
49
-
50
- Open up a Powershell command prompt as Administrator and run:
51
-
52
- `. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -channel current -project chefdk`
53
-
54
- To download a specific version, append the `-version` flag. EG, `-version 0.9.0`.
55
-
56
- ## Usage
57
-
58
- For help with [Berkshelf][], [Test Kitchen][], [ChefSpec][], [Foodcritic][], [Delivery CLI][] or [Push Jobs Client][],
59
- visit those projects' homepages for documentation and guides. For help with
60
- `chef-client` and `knife`, visit the [Chef documentation][]
61
- and [Learn Chef][].
62
-
63
- ### The `chef` Command
64
-
65
- Our goal is for `chef` to become a workflow tool that builds on the
66
- ideas of Berkshelf to provide an awesome experience that encourages
67
- quick iteration and testing (and makes those things easy) and provides a
68
- way to easily, reliably, and repeatably roll out new automation code to
69
- your infrastructure.
70
-
71
- While we've got a long way to go before we reach that goal we do have
72
- some helpful bits of functionality already included in the `chef`
73
- command:
74
-
75
- #### `chef generate`
76
- The generate subcommand generates skeleton Chef code
77
- layouts so you can skip repetitive boilerplate and get down to
78
- automating your infrastructure quickly. Unlike other generators, it only
79
- generates the minimum required files when creating a cookbook so you can
80
- focus on the task at hand without getting overwhelmed by stuff you don't
81
- need.
82
-
83
- The following generators are built-in:
84
-
85
- * `chef generate app` Creates an "application" layout that supports
86
- multiple cookbooks. This is a somewhat experimental compromise between
87
- the one-repo-per-cookbook and monolithic-chef-repo styles of cookbook
88
- management.
89
-
90
- * `chef generate cookbook` Creates a single cookbook.
91
- * `chef generate recipe` Creates a new recipe file in an existing
92
- cookbook.
93
- * `chef generate attribute` Creates a new attributes file in an existing
94
- cookbook.
95
- * `chef generate template` Creates a new template file in an existing
96
- cookbook. Use the `-s SOURCE` option to copy a source file's content to
97
- populate the template.
98
- * `chef generate file` Creates a new cookbook file in an existing
99
- cookbook. Supports the `-s SOURCE` option similar to template.
100
- * `chef generate lwrp` Creates a new LWRP resource and provider in an
101
- existing cookbook.
102
-
103
- The `chef generate` command also accepts additional `--generator-arg key=value`
104
- pairs that can be used to supply ad-hoc data to a generator cookbook.
105
- For example, you might specify `--generator-arg database=mysql` and then only
106
- write a template for `recipes/mysql.rb` if `context.database == 'mysql'`.
107
-
108
- #### `chef gem`
109
- `chef gem` is a wrapper command that manages installation and updating
110
- of rubygems for the Ruby installation embedded in the ChefDK package.
111
- This allows you to install knife plugins, Test Kitchen drivers, and
112
- other Ruby applications that are not packaged with ChefDK.
113
-
114
- Gems are installed to a `.chefdk` directory in your home directory; any
115
- executables included with a gem you install will be created in
116
- `~/.chefdk/gem/ruby/2.1.0/bin`. You can run these executables with
117
- `chef exec`, or use `chef shell-init` to add ChefDK's paths to your
118
- environment. Those commands are documented below.
119
-
120
- ### `chef exec`
121
- `chef exec <command>` runs any arbitrary shell command with the PATH
122
- environment variable and the ruby environment variables (`GEM_HOME`,
123
- `GEM_PATH`, etc.) setup to point at the embedded ChefDK omnibus environment.
124
-
125
- ### `chef shell-init`
126
- `chef shell-init SHELL_NAME` emits shell commands that modify your
127
- environment to make ChefDK your primary ruby. It supports bash, zsh,
128
- fish and PowerShell (posh). For more information to help you decide if
129
- this is desirable and instructions, see "Using ChefDK as Your Primary
130
- Development Environment" below.
131
-
132
- ### `chef install`
133
- `chef install` reads a `Policyfile.rb` document, which contains a
134
- `run_list` and optional cookbook version constraints, finds a set of
135
- cookbooks that provide the desired recipes and meet dependency
136
- constraints, and emits a `Policyfile.lock.json` describing the expanded
137
- run list and locked cookbook set. The `Policyfile.lock.json` can be used
138
- to install the cookbooks on another machine. The policy lock can be
139
- uploaded to a Chef Server (via the `chef push` command) to apply the
140
- expanded run list and locked cookbook set to nodes in your
141
- infrastructure. See the POLICYFILE_README.md for further details.
142
-
143
- ### `chef push`
144
- `chef push POLICY_GROUP` uploads a Policyfile.lock.json along with the cookbooks it
145
- references to a Chef Server. The policy lock is applied to a
146
- `POLICY_GROUP`, which is a set of nodes that share the same run list and
147
- cookbook set. This command operates in compatibility mode and has the
148
- same caveats as `chef install`. See the POLICYFILE_README.md for further
149
- details.
150
-
151
- ### `chef update`
152
- `chef update` updates a Policyfile.lock.json with the latest cookbooks
153
- from upstream sources. It supports an `--attributes` flag which will
154
- cause only attributes from the Policyfile.rb to be updated.
155
-
156
- ### `chef diff`
157
- `chef diff` shows an itemized diff between Policyfile locks. It can
158
- compare Policyfile locks from local disk, git, and/or the Chef Server,
159
- based on the options given.
160
-
161
- #### `chef verify`
162
- `chef verify` tests the embedded applications. By default it runs a
163
- quick "smoke test" to verify that the embedded applications are
164
- installed correctly and can run basic commands. As an end user this is
165
- probably all you'll ever need, but `verify` can also optionally run unit
166
- and integration tests by supplying the `--unit` and `--integration`
167
- flags, respectively.
168
-
169
- You can also focus on a specific suite of tests by passing it as an argument.
170
- For example `chef verify git` will only run the smoke tests for the `git` suite.
171
-
172
- *WARNING:* The integration tests will do dangerous things like start
173
- HTTP servers with access to your filesystem and even create users and
174
- groups if run with sufficient privileges. The tests may also be
175
- sensitive to your machine's configuration. If you choose to run these,
176
- we recommend to only run them on dedicated, isolated hosts (we do this
177
- in our build cluster to verify each build).
178
-
179
- ### Using ChefDK as Your Primary Development Environment
180
-
181
- By default, ChefDK only adds a few select applications to your `PATH`
182
- and packages them in such a way that they are isolated from any other
183
- Ruby development tools you have on your system. If you're happily using
184
- your system ruby, rvm, rbenv, chruby or any other development
185
- environment, you can continue to do so. Just ensure that the ChefDK
186
- provided applications appear first in your `PATH` before any
187
- gem-installed versions and you're good to go.
188
-
189
- If you'd like to use ChefDK as your primary Ruby/Chef development
190
- environment, however, you can do so by initializing your shell with
191
- ChefDK's environment.
192
-
193
- To try it temporarily, in a new terminal session, run:
194
-
195
- ```sh
196
- eval "$(chef shell-init SHELL_NAME)"
197
- ```
198
-
199
- where `SHELL_NAME` is the name of your shell (usually bash, but zsh is
200
- also common). This modifies your `PATH` and `GEM_*` environment
201
- variables to include ChefDK's paths (run without the `eval` to see the
202
- generated code). Now your default `ruby` and associated tools will be
203
- the ones from ChefDK:
204
-
205
- ```sh
206
- which ruby
207
- # => /opt/chefdk/embedded/bin/ruby
208
- ```
209
-
210
- To add ChefDK to your shell's environment permanently, add the
211
- initialization step to your shell's profile:
212
-
213
- ```sh
214
- echo 'eval "$(chef shell-init SHELL_NAME)"' >> ~/.YOUR_SHELL_PROFILE
215
- ```
216
-
217
- Where `YOUR_SHELL_PROFILE` is `~/.bash_profile` for most bash users,
218
- `~/.zshrc` for zsh, and `~/.bashrc` on Ubuntu.
219
-
220
- #### Powershell
221
-
222
- You can use `chef shell-init` with PowerShell on Windows.
223
-
224
- To try it in your current session:
225
-
226
- ```posh
227
- chef shell-init powershell | Invoke-Expression
228
- ```
229
-
230
- To enable it permanently:
231
-
232
- ```posh
233
- "chef shell-init powershell | Invoke-Expression" >> $PROFILE
234
- ```
235
-
236
- #### Fish
237
-
238
- `chef shell-init` also supports fish.
239
-
240
- To try it:
241
-
242
- ```fish
243
- eval (chef shell-init fish)
244
- ```
245
-
246
- To permanently enable:
247
-
248
- ```fish
249
- echo 'eval (chef shell-init SHELL_NAME)' >> ~/.config/fish/config.fish
250
- ```
251
-
252
- ## Uninstallation Instructions
253
-
254
- ### Mac OS X
255
-
256
- You can uninstall Chef Development Kit on Mac using the below commands.
257
-
258
- First, remove the main package files:
259
-
260
- ```sh
261
- # Remove the installed files
262
- sudo rm -rf /opt/chefdk
263
-
264
- # Remove the system installation entry
265
- sudo pkgutil --forget com.getchef.pkg.chefdk
266
- ```
267
-
268
- Next, remove the symlinks which the Chef Development Kit installs. The
269
- location for these differs based on your OS X version.
270
-
271
- Pre-El Capitan:
272
-
273
- ```sh
274
- # Symlinks are in /usr/bin
275
- ls -la /usr/bin | egrep '/opt/chefdk' | awk '{ print $9 }' | sudo xargs -I % rm -f /usr/bin/%
276
- ```
277
-
278
- Post-El Capitan:
279
-
280
- ```sh
281
- # Symlinks are in /usr/local/bin
282
- ls -la /usr/local/bin | egrep '/opt/chefdk' | awk '{ print $9 }' | sudo xargs -I % rm -f /usr/local/bin/%
283
- ```
284
-
285
- ### Windows
286
-
287
- You can use `Add / Remove Programs` on Windows to remove the Chef Development
288
- Kit from your system.
289
-
290
- ### RHEL
291
-
292
- You can use `rpm` to uninstall Chef Development Kit on RHEL based systems:
293
-
294
- ```sh
295
- rpm -qa *chefdk*
296
- yum remove <package>
297
- rm -rf /opt/chefdk
298
- rm -rf ~/.chefdk
299
- ```
300
-
301
- ### Ubuntu
302
-
303
- You can use `dpkg` to uninstall Chef Development Kit on Ubuntu based systems:
304
-
305
- ```sh
306
- dpkg --list | grep chefdk # or dpkg --status chefdk
307
-
308
- # Purge chefdk from the system.
309
- # see man dkpg for details
310
- dpkg -P chefdk
311
- ```
312
-
313
- ## Contributing
314
-
315
- For information on contributing to this project see <https://github.com/chef/chef/blob/master/CONTRIBUTING.md>
316
-
317
- # For ChefDK Developers
318
-
319
- See the [Development Guide](CONTRIBUTING.md) for how to get started with
320
- development on the ChefDK itself, as well as details on how dependencies,
321
- packaging, and building works.
322
-
323
- - - -
324
-
325
- [Berkshelf]: https://docs.chef.io/berkshelf.html "Berkshelf"
326
- [Chef]: https://www.chef.io/chef/ "Chef"
327
- [ChefDK]: https://downloads.chef.io/chefdk "Chef Development Kit"
328
- [Chef Documentation]: https://docs.chef.io "Chef Documentation"
329
- [ChefSpec]: http://chefspec.github.io/chefspec/ "ChefSpec"
330
- [Cookstyle]: https://docs.chef.io/cookstyle.html "Cookstyle"
331
- [Foodcritic]: http://foodcritic.io "Foodcritic"
332
- [Learn Chef]: https://learn.chef.io "Learn Chef"
333
- [Test Kitchen]: http://kitchen.ci "Test Kitchen"
334
- [Delivery CLI]: https://docs.chef.io/delivery_cli.html "Delivery CLI"
335
- [Push Jobs Client]: https://docs.chef.io/push_jobs.html#push-jobs-client "Push Jobs Client"
@@ -1,25 +0,0 @@
1
- # THIS IS NOW HAND MANAGED, JUST EDIT THE THING
2
- # .travis.yml and appveyor.yml consume this,
3
- # try to keep it machine-parsable.
4
- #
5
- # NOTE: You MUST update omnibus-software when adding new versions of
6
- # software here: bundle exec rake dependencies:update_omnibus_gemfile_lock
7
- override :rubygems, version: "2.7.6"
8
- override :bundler, version: "1.16.1"
9
- override "libffi", version: "3.2.1"
10
- override "libiconv", version: "1.15"
11
- override "liblzma", version: "5.2.3"
12
- override "libtool", version: "2.4.2"
13
- override "libxml2", version: "2.9.8"
14
- override "libxslt", version: "1.1.30"
15
- override "libyaml", version: "0.1.7"
16
- override "makedepend", version: "1.0.5"
17
- override "ncurses", version: "5.9"
18
- override "pkg-config-lite", version: "0.28-1"
19
- override "ruby", version: "2.5.3"
20
- override "ruby-windows-devkit-bash", version: "3.1.23-4-msys-1.0.18"
21
- override "util-macros", version: "1.19.0"
22
- override "xproto", version: "7.0.28"
23
- override "zlib", version: "1.2.11"
24
- override "libzmq", version: "4.0.7"
25
- override "openssl", version: "1.0.2p"