chef-dk 0.6.0 → 0.6.1

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
  SHA1:
3
- metadata.gz: c6b56f8142a1f44e274b102d857a291813f4808b
4
- data.tar.gz: 64405a6fee63415614dc9d98073866d0c89d849f
3
+ metadata.gz: 587219a2b37562d31908fb2e4e3f9a51c8ecb941
4
+ data.tar.gz: 625e20fdde7b5c7d7ecf31a5605c851fecfe90c7
5
5
  SHA512:
6
- metadata.gz: 5dd5c2a1d046ef6252b2115b2c2db68365a55d047563ef1269c5bcab7be6c514bb5a8183fe6147e935dfac529e4f548271c32fab91cfc26fb4b3ab19a37f5b3c
7
- data.tar.gz: 63805b53f8a1f61ea924c4960d81f4c770e0d86093b0b50313e20dbd1b589b6d97130b6d0589d1e36440e05d6a52485f6ad646b68c30c2316f40850efda4e12a
6
+ metadata.gz: 0f1df6de4d5d6955eed1f4d48b54d80c487c41091081f35979ea8002a8d9b5b09aef3e48b37846910ef7a836089bb4ed35bde37c6088f59183f6317876b9b3ca
7
+ data.tar.gz: c1c55bf0f99d83440283bfae651420f16cac3d52627c9e1fb8ed90031afd4109bf04b23acba4b4b3010bb4bfdbcdb5919a39996b48fe14e4af997fb060560aa4
@@ -215,6 +215,31 @@ end
215
215
  end
216
216
  end
217
217
 
218
+ add_component "openssl" do |c|
219
+ # https://github.com/chef/chef-dk/issues/420
220
+ c.base_dir = "chef"
221
+
222
+ test = <<-EOF.gsub(/^\s+/, "")
223
+ require "net/http"
224
+
225
+ uris = %w{https://www.google.com https://chef.io/ https://ec2.amazonaws.com}
226
+ uris.each do |uri|
227
+ uri = URI(uri)
228
+ puts "Fetching \#{uri} for SSL check"
229
+ Net::HTTP.get uri
230
+ end
231
+ EOF
232
+
233
+ c.unit_test do
234
+ tmpdir do |cwd|
235
+ with_file(File.join(cwd, "openssl.rb")) do |f|
236
+ f.write test
237
+ end
238
+ sh!("#{Gem.ruby} openssl.rb", cwd: cwd)
239
+ end
240
+ end
241
+ end
242
+
218
243
  attr_reader :verification_threads
219
244
  attr_reader :verification_results
220
245
  attr_reader :verification_status
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module ChefDK
19
- VERSION = "0.6.0"
19
+ VERSION = "0.6.1"
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: 0.6.0
4
+ version: 0.6.1
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: 2015-05-24 00:00:00.000000000 Z
13
+ date: 2015-06-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mixlib-cli
@@ -408,19 +408,6 @@ files:
408
408
  - spec/unit/fixtures/eg_omnibus_dir/valid/embedded/apps/test-kitchen/verify_me
409
409
  - spec/unit/fixtures/eg_omnibus_dir/valid/embedded/bin/.keep
410
410
  - spec/unit/fixtures/example_app/Policyfile.rb
411
- - spec/unit/fixtures/example_cookbook/.git/HEAD
412
- - spec/unit/fixtures/example_cookbook/.git/config
413
- - spec/unit/fixtures/example_cookbook/.git/description
414
- - spec/unit/fixtures/example_cookbook/.git/hooks/applypatch-msg.sample
415
- - spec/unit/fixtures/example_cookbook/.git/hooks/commit-msg.sample
416
- - spec/unit/fixtures/example_cookbook/.git/hooks/post-update.sample
417
- - spec/unit/fixtures/example_cookbook/.git/hooks/pre-applypatch.sample
418
- - spec/unit/fixtures/example_cookbook/.git/hooks/pre-commit.sample
419
- - spec/unit/fixtures/example_cookbook/.git/hooks/pre-push.sample
420
- - spec/unit/fixtures/example_cookbook/.git/hooks/pre-rebase.sample
421
- - spec/unit/fixtures/example_cookbook/.git/hooks/prepare-commit-msg.sample
422
- - spec/unit/fixtures/example_cookbook/.git/hooks/update.sample
423
- - spec/unit/fixtures/example_cookbook/.git/info/exclude
424
411
  - spec/unit/fixtures/example_cookbook/.gitignore
425
412
  - spec/unit/fixtures/example_cookbook/.kitchen.yml
426
413
  - spec/unit/fixtures/example_cookbook/Berksfile
@@ -428,19 +415,6 @@ files:
428
415
  - spec/unit/fixtures/example_cookbook/chefignore
429
416
  - spec/unit/fixtures/example_cookbook/metadata.rb
430
417
  - spec/unit/fixtures/example_cookbook/recipes/default.rb
431
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/HEAD
432
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/config
433
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/description
434
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/applypatch-msg.sample
435
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/commit-msg.sample
436
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/post-update.sample
437
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/pre-applypatch.sample
438
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/pre-commit.sample
439
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/pre-push.sample
440
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/pre-rebase.sample
441
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/prepare-commit-msg.sample
442
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/update.sample
443
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/info/exclude
444
418
  - spec/unit/fixtures/example_cookbook_metadata_json_only/.gitignore
445
419
  - spec/unit/fixtures/example_cookbook_metadata_json_only/.kitchen.yml
446
420
  - spec/unit/fixtures/example_cookbook_metadata_json_only/Berksfile
@@ -448,19 +422,6 @@ files:
448
422
  - spec/unit/fixtures/example_cookbook_metadata_json_only/chefignore
449
423
  - spec/unit/fixtures/example_cookbook_metadata_json_only/metadata.json
450
424
  - spec/unit/fixtures/example_cookbook_metadata_json_only/recipes/default.rb
451
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/HEAD
452
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/config
453
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/description
454
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/applypatch-msg.sample
455
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/commit-msg.sample
456
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/post-update.sample
457
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/pre-applypatch.sample
458
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/pre-commit.sample
459
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/pre-push.sample
460
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/pre-rebase.sample
461
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/prepare-commit-msg.sample
462
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/update.sample
463
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/info/exclude
464
425
  - spec/unit/fixtures/example_cookbook_no_metadata/.gitignore
465
426
  - spec/unit/fixtures/example_cookbook_no_metadata/.kitchen.yml
466
427
  - spec/unit/fixtures/example_cookbook_no_metadata/Berksfile
@@ -535,7 +496,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
535
496
  version: '0'
536
497
  requirements: []
537
498
  rubyforge_project:
538
- rubygems_version: 2.4.6
499
+ rubygems_version: 2.4.7
539
500
  signing_key:
540
501
  specification_version: 4
541
502
  summary: A streamlined development and deployment workflow for Chef platform.
@@ -618,19 +579,6 @@ test_files:
618
579
  - spec/unit/fixtures/eg_omnibus_dir/valid/embedded/apps/test-kitchen/verify_me
619
580
  - spec/unit/fixtures/eg_omnibus_dir/valid/embedded/bin/.keep
620
581
  - spec/unit/fixtures/example_app/Policyfile.rb
621
- - spec/unit/fixtures/example_cookbook/.git/HEAD
622
- - spec/unit/fixtures/example_cookbook/.git/config
623
- - spec/unit/fixtures/example_cookbook/.git/description
624
- - spec/unit/fixtures/example_cookbook/.git/hooks/applypatch-msg.sample
625
- - spec/unit/fixtures/example_cookbook/.git/hooks/commit-msg.sample
626
- - spec/unit/fixtures/example_cookbook/.git/hooks/post-update.sample
627
- - spec/unit/fixtures/example_cookbook/.git/hooks/pre-applypatch.sample
628
- - spec/unit/fixtures/example_cookbook/.git/hooks/pre-commit.sample
629
- - spec/unit/fixtures/example_cookbook/.git/hooks/pre-push.sample
630
- - spec/unit/fixtures/example_cookbook/.git/hooks/pre-rebase.sample
631
- - spec/unit/fixtures/example_cookbook/.git/hooks/prepare-commit-msg.sample
632
- - spec/unit/fixtures/example_cookbook/.git/hooks/update.sample
633
- - spec/unit/fixtures/example_cookbook/.git/info/exclude
634
582
  - spec/unit/fixtures/example_cookbook/.gitignore
635
583
  - spec/unit/fixtures/example_cookbook/.kitchen.yml
636
584
  - spec/unit/fixtures/example_cookbook/Berksfile
@@ -638,19 +586,6 @@ test_files:
638
586
  - spec/unit/fixtures/example_cookbook/chefignore
639
587
  - spec/unit/fixtures/example_cookbook/metadata.rb
640
588
  - spec/unit/fixtures/example_cookbook/recipes/default.rb
641
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/HEAD
642
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/config
643
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/description
644
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/applypatch-msg.sample
645
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/commit-msg.sample
646
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/post-update.sample
647
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/pre-applypatch.sample
648
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/pre-commit.sample
649
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/pre-push.sample
650
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/pre-rebase.sample
651
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/prepare-commit-msg.sample
652
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/hooks/update.sample
653
- - spec/unit/fixtures/example_cookbook_metadata_json_only/.git/info/exclude
654
589
  - spec/unit/fixtures/example_cookbook_metadata_json_only/.gitignore
655
590
  - spec/unit/fixtures/example_cookbook_metadata_json_only/.kitchen.yml
656
591
  - spec/unit/fixtures/example_cookbook_metadata_json_only/Berksfile
@@ -658,19 +593,6 @@ test_files:
658
593
  - spec/unit/fixtures/example_cookbook_metadata_json_only/chefignore
659
594
  - spec/unit/fixtures/example_cookbook_metadata_json_only/metadata.json
660
595
  - spec/unit/fixtures/example_cookbook_metadata_json_only/recipes/default.rb
661
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/HEAD
662
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/config
663
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/description
664
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/applypatch-msg.sample
665
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/commit-msg.sample
666
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/post-update.sample
667
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/pre-applypatch.sample
668
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/pre-commit.sample
669
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/pre-push.sample
670
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/pre-rebase.sample
671
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/prepare-commit-msg.sample
672
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/hooks/update.sample
673
- - spec/unit/fixtures/example_cookbook_no_metadata/.git/info/exclude
674
596
  - spec/unit/fixtures/example_cookbook_no_metadata/.gitignore
675
597
  - spec/unit/fixtures/example_cookbook_no_metadata/.kitchen.yml
676
598
  - spec/unit/fixtures/example_cookbook_no_metadata/Berksfile
@@ -726,4 +648,3 @@ test_files:
726
648
  - spec/unit/service_exception_inspectors/base_spec.rb
727
649
  - spec/unit/service_exception_inspectors/http_spec.rb
728
650
  - spec/unit/shell_out_spec.rb
729
- has_rdoc: