chef 13.2.20-universal-mingw32 → 13.3.42-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +1 -1
  3. data/Gemfile +2 -8
  4. data/README.md +6 -2
  5. data/Rakefile +0 -11
  6. data/VERSION +1 -1
  7. data/acceptance/Gemfile.lock +1 -1
  8. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +34 -18
  9. data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +6 -0
  10. data/lib/chef/cookbook/metadata.rb +2 -2
  11. data/lib/chef/deprecation/warnings.rb +3 -1
  12. data/lib/chef/exceptions.rb +1 -1
  13. data/lib/chef/http.rb +9 -10
  14. data/lib/chef/http/api_versions.rb +2 -0
  15. data/lib/chef/http/http_request.rb +3 -0
  16. data/lib/chef/knife/core/bootstrap_context.rb +1 -0
  17. data/lib/chef/knife/core/status_presenter.rb +1 -1
  18. data/lib/chef/knife/ssh.rb +4 -0
  19. data/lib/chef/provider/apt_preference.rb +99 -0
  20. data/lib/chef/provider/execute.rb +3 -2
  21. data/lib/chef/provider/http_request.rb +14 -0
  22. data/lib/chef/provider/mount/aix.rb +49 -8
  23. data/lib/chef/provider/package/windows/registry_uninstall_entry.rb +1 -1
  24. data/lib/chef/provider/package/zypper.rb +5 -5
  25. data/lib/chef/provider/service/systemd.rb +12 -11
  26. data/lib/chef/provider/support/zypper_repo.erb +17 -0
  27. data/lib/chef/provider/systemd_unit.rb +3 -2
  28. data/lib/chef/provider/windows_task.rb +92 -71
  29. data/lib/chef/provider/zypper_repository.rb +81 -0
  30. data/lib/chef/providers.rb +2 -0
  31. data/lib/chef/resource/apt_preference.rb +36 -0
  32. data/lib/chef/resource/execute.rb +12 -2
  33. data/lib/chef/resource/http_request.rb +1 -1
  34. data/lib/chef/resource/zypper_repository.rb +51 -0
  35. data/lib/chef/resources.rb +2 -0
  36. data/lib/chef/search/query.rb +6 -1
  37. data/lib/chef/server_api_versions.rb +21 -2
  38. data/lib/chef/version.rb +3 -4
  39. data/lib/chef/win32/api/file.rb +1 -0
  40. data/lib/chef/win32/file.rb +2 -0
  41. data/lib/chef/win32/version.rb +6 -0
  42. data/spec/functional/knife/ssh_spec.rb +1 -1
  43. data/spec/functional/resource/execute_spec.rb +2 -2
  44. data/spec/spec_helper.rb +8 -1
  45. data/spec/unit/cookbook/metadata_spec.rb +3 -3
  46. data/spec/unit/http/api_versions_spec.rb +6 -3
  47. data/spec/unit/knife/bootstrap_spec.rb +4 -0
  48. data/spec/unit/knife/cookbook_show_spec.rb +3 -3
  49. data/spec/unit/knife/ssh_spec.rb +7 -1
  50. data/spec/unit/knife/status_spec.rb +2 -0
  51. data/spec/unit/provider/apt_preference_spec.rb +87 -0
  52. data/spec/unit/provider/apt_update_spec.rb +7 -7
  53. data/spec/unit/provider/dsc_resource_spec.rb +2 -2
  54. data/spec/unit/provider/execute_spec.rb +32 -14
  55. data/spec/unit/provider/mount/aix_spec.rb +33 -1
  56. data/spec/unit/provider/package/rubygems_spec.rb +1 -1
  57. data/spec/unit/provider/package/windows/registry_uninstall_entry_spec.rb +56 -3
  58. data/spec/unit/provider/package/windows_spec.rb +1 -1
  59. data/spec/unit/provider/package/zypper_spec.rb +43 -0
  60. data/spec/unit/provider/script_spec.rb +1 -1
  61. data/spec/unit/provider/service/systemd_service_spec.rb +23 -21
  62. data/spec/unit/provider/systemd_unit_spec.rb +42 -41
  63. data/spec/unit/provider/windows_task_spec.rb +40 -0
  64. data/spec/unit/resource/apt_preference_spec.rb +41 -0
  65. data/spec/unit/resource/execute_spec.rb +21 -1
  66. data/spec/unit/resource/powershell_script_spec.rb +2 -2
  67. data/spec/unit/resource/zypper_repository_spec.rb +65 -0
  68. data/spec/unit/search/query_spec.rb +13 -18
  69. data/spec/unit/server_api_spec.rb +75 -1
  70. data/spec/unit/server_api_versions_spec.rb +22 -0
  71. data/spec/unit/win32/link_spec.rb +73 -0
  72. data/tasks/dependencies.rb +0 -1
  73. metadata +14 -81
  74. data/acceptance/.bundle/config +0 -2
  75. data/acceptance/bin/aws.rb +0 -17
  76. data/acceptance/bin/berks +0 -17
  77. data/acceptance/bin/bundler +0 -17
  78. data/acceptance/bin/chef-acceptance +0 -17
  79. data/acceptance/bin/coderay +0 -17
  80. data/acceptance/bin/erubis +0 -17
  81. data/acceptance/bin/htmldiff +0 -17
  82. data/acceptance/bin/httpclient +0 -17
  83. data/acceptance/bin/inspec +0 -17
  84. data/acceptance/bin/kitchen +0 -17
  85. data/acceptance/bin/ldiff +0 -17
  86. data/acceptance/bin/nokogiri +0 -17
  87. data/acceptance/bin/pry +0 -17
  88. data/acceptance/bin/rake +0 -17
  89. data/acceptance/bin/rspec +0 -17
  90. data/acceptance/bin/rwinrm +0 -17
  91. data/acceptance/bin/rwinrmcp +0 -17
  92. data/acceptance/bin/safe_yaml +0 -17
  93. data/acceptance/bin/thor +0 -17
  94. data/acceptance/fips/.kitchen/fips-unit-functional-centos-6.yml +0 -7
  95. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  96. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  97. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/id +0 -1
  98. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  99. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/private_key +0 -27
  100. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  101. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/Vagrantfile +0 -11
  102. data/acceptance/fips/.kitchen/logs/fips-integration-centos-6.log +0 -0
  103. data/acceptance/fips/.kitchen/logs/fips-integration-windows-2012r2.log +0 -0
  104. data/acceptance/fips/.kitchen/logs/fips-unit-functional-centos-6.log +0 -80
  105. data/acceptance/fips/.kitchen/logs/kitchen.log +0 -4
  106. data/tasks/changelog.rb +0 -37
  107. data/tasks/version.rb +0 -41
@@ -0,0 +1,73 @@
1
+ #
2
+ # Copyright:: Copyright 2012-2017, 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
+ require "spec_helper"
19
+ if Chef::Platform.windows?
20
+ require "chef/win32/api/file"
21
+ require "chef/win32/file"
22
+ require "chef/win32/version"
23
+ end
24
+
25
+ describe Chef::ReservedNames::Win32::File, :windows_only do
26
+ context "#symlink" do
27
+ let(:with_privilege) { Chef::ReservedNames::Win32::API::File::SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE }
28
+ let(:without_privilege) { 0x0 }
29
+
30
+ context "an invalid parameter is passed" do
31
+ it "will throw an exception if an invalid parameter is passed" do
32
+ allow(File).to receive(:directory?).and_return(false)
33
+ allow(Chef::ReservedNames::Win32::File).to receive(:encode_path) { |a| a }
34
+ allow_any_instance_of(Chef::ReservedNames::Win32::Version).to receive(:windows_10?).and_return(true)
35
+ allow_any_instance_of(Chef::ReservedNames::Win32::Version).to receive(:build_number).and_return(1)
36
+ allow(Chef::ReservedNames::Win32::File).to receive(:CreateSymbolicLinkW).and_return(nil)
37
+
38
+ expect { Chef::ReservedNames::Win32::File.symlink("a", "b") }.to raise_error Chef::Exceptions::Win32APIError
39
+ end
40
+ end
41
+
42
+ context "a valid parameter is passed" do
43
+ before(:each) do
44
+ allow(File).to receive(:directory?).and_return(false)
45
+ allow(Chef::ReservedNames::Win32::File).to receive(:encode_path) { |a| a }
46
+ allow(Chef::ReservedNames::Win32::File).to receive(:CreateSymbolicLinkW).with(any_args) { "don't //actually// do this" }
47
+ end
48
+
49
+ it "will not pass the unpirivileged symlink flag if the node is not Windows 10" do
50
+ allow_any_instance_of(Chef::ReservedNames::Win32::Version).to receive(:windows_10?).and_return(false)
51
+
52
+ expect(Chef::ReservedNames::Win32::File).to receive(:CreateSymbolicLinkW).with("b", "a", without_privilege)
53
+ described_class.symlink("a", "b")
54
+ end
55
+
56
+ it "will not pass the unpirivileged symlink flag if the node is not at least Windows 10 Creators Update" do
57
+ allow_any_instance_of(Chef::ReservedNames::Win32::Version).to receive(:windows_10?).and_return(true)
58
+ allow_any_instance_of(Chef::ReservedNames::Win32::Version).to receive(:build_number).and_return(1)
59
+
60
+ expect(Chef::ReservedNames::Win32::File).to receive(:CreateSymbolicLinkW).with("b", "a", without_privilege)
61
+ described_class.symlink("a", "b")
62
+ end
63
+
64
+ it "will pass the unpirivileged symlink flag if the node is Windows 10 Creators Update or higher" do
65
+ allow_any_instance_of(Chef::ReservedNames::Win32::Version).to receive(:windows_10?).and_return(true)
66
+ allow_any_instance_of(Chef::ReservedNames::Win32::Version).to receive(:build_number).and_return(15063)
67
+
68
+ expect(Chef::ReservedNames::Win32::File).to receive(:CreateSymbolicLinkW).with("b", "a", with_privilege)
69
+ described_class.symlink("a", "b")
70
+ end
71
+ end
72
+ end
73
+ end
@@ -37,7 +37,6 @@ namespace :dependencies do
37
37
  desc "Update all dependencies. dependencies:update to update as little as possible (CI-only)."
38
38
  task :update_ci => %w{
39
39
  dependencies:update_gemfile_lock
40
- dependencies:update_omnibus_overrides
41
40
  dependencies:update_omnibus_gemfile_lock
42
41
  dependencies:update_acceptance_gemfile_lock
43
42
  dependencies:update_kitchen_tests_gemfile_lock
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.2.20
4
+ version: 13.3.42
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-04 00:00:00.000000000 Z
11
+ date: 2017-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.2.20
19
+ version: 13.3.42
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 13.2.20
26
+ version: 13.3.42
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -624,49 +624,6 @@ files:
624
624
  - README.md
625
625
  - Rakefile
626
626
  - VERSION
627
- - acceptance/.acceptance_data/chef/fips/provision/.chef/config.rb
628
- - acceptance/.acceptance_data/chef/fips/provision/cache/chef-client-running.pid
629
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/.gitignore
630
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/metadata.rb
631
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/destroy.rb
632
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/provision.rb
633
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/verify.rb
634
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.digitalocean.yml
635
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.ec2.yml
636
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.vagrant.yml
637
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/libraries/kitchen.rb
638
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/metadata.rb
639
- - acceptance/.acceptance_data/chef/fips/provision/cache/failed-audit-data.json
640
- - acceptance/.acceptance_data/chef/fips/provision/dna.json
641
- - acceptance/.acceptance_data/chef/fips/provision/nodes/remtmay02.json
642
- - acceptance/.acceptance_data/chef/fips/verify/.chef/config.rb
643
- - acceptance/.acceptance_data/chef/fips/verify/cache/chef-client-running.pid
644
- - acceptance/.acceptance_data/chef/fips/verify/cache/chef-stacktrace.out
645
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/.gitignore
646
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/metadata.rb
647
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/destroy.rb
648
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/provision.rb
649
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/verify.rb
650
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.digitalocean.yml
651
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.ec2.yml
652
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.vagrant.yml
653
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/libraries/kitchen.rb
654
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/metadata.rb
655
- - acceptance/.acceptance_data/chef/fips/verify/cache/failed-audit-data.json
656
- - acceptance/.acceptance_data/chef/fips/verify/dna.json
657
- - acceptance/.acceptance_data/chef/fips/verify/nodes/remtmay02.json
658
- - acceptance/.acceptance_data/logs/acceptance.log
659
- - acceptance/.acceptance_data/logs/fips/converge/fips-integration-centos-6.log
660
- - acceptance/.acceptance_data/logs/fips/converge/fips-integration-windows-2012r2.log
661
- - acceptance/.acceptance_data/logs/fips/converge/fips-unit-functional-centos-6.log
662
- - acceptance/.acceptance_data/logs/fips/converge/kitchen.log
663
- - acceptance/.acceptance_data/logs/fips/provision.log
664
- - acceptance/.acceptance_data/logs/fips/verify.log
665
- - acceptance/.acceptance_data/logs/fips/verify/fips-integration-centos-6.log
666
- - acceptance/.acceptance_data/logs/fips/verify/fips-integration-windows-2012r2.log
667
- - acceptance/.acceptance_data/logs/fips/verify/fips-unit-functional-centos-6.log
668
- - acceptance/.acceptance_data/logs/fips/verify/kitchen.log
669
- - acceptance/.bundle/config
670
627
  - acceptance/.gitignore
671
628
  - acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml
672
629
  - acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml
@@ -685,25 +642,6 @@ files:
685
642
  - acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb
686
643
  - acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb
687
644
  - acceptance/basics/test/integration/helpers/serverspec/Gemfile
688
- - acceptance/bin/aws.rb
689
- - acceptance/bin/berks
690
- - acceptance/bin/bundler
691
- - acceptance/bin/chef-acceptance
692
- - acceptance/bin/coderay
693
- - acceptance/bin/erubis
694
- - acceptance/bin/htmldiff
695
- - acceptance/bin/httpclient
696
- - acceptance/bin/inspec
697
- - acceptance/bin/kitchen
698
- - acceptance/bin/ldiff
699
- - acceptance/bin/nokogiri
700
- - acceptance/bin/pry
701
- - acceptance/bin/rake
702
- - acceptance/bin/rspec
703
- - acceptance/bin/rwinrm
704
- - acceptance/bin/rwinrmcp
705
- - acceptance/bin/safe_yaml
706
- - acceptance/bin/thor
707
645
  - acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore
708
646
  - acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb
709
647
  - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb
@@ -724,18 +662,6 @@ files:
724
662
  - acceptance/data-collector/Berksfile
725
663
  - acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
726
664
  - acceptance/data-collector/test/integration/helpers/serverspec/Gemfile
727
- - acceptance/fips/.kitchen/fips-unit-functional-centos-6.yml
728
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/action_set_name
729
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/creator_uid
730
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/id
731
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/index_uuid
732
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/private_key
733
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/synced_folders
734
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/Vagrantfile
735
- - acceptance/fips/.kitchen/logs/fips-integration-centos-6.log
736
- - acceptance/fips/.kitchen/logs/fips-integration-windows-2012r2.log
737
- - acceptance/fips/.kitchen/logs/fips-unit-functional-centos-6.log
738
- - acceptance/fips/.kitchen/logs/kitchen.log
739
665
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore
740
666
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb
741
667
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb
@@ -1422,6 +1348,7 @@ files:
1422
1348
  - lib/chef/policy_builder/policyfile.rb
1423
1349
  - lib/chef/property.rb
1424
1350
  - lib/chef/provider.rb
1351
+ - lib/chef/provider/apt_preference.rb
1425
1352
  - lib/chef/provider/apt_repository.rb
1426
1353
  - lib/chef/provider/apt_update.rb
1427
1354
  - lib/chef/provider/batch.rb
@@ -1545,6 +1472,7 @@ files:
1545
1472
  - lib/chef/provider/service/windows.rb
1546
1473
  - lib/chef/provider/subversion.rb
1547
1474
  - lib/chef/provider/support/yum_repo.erb
1475
+ - lib/chef/provider/support/zypper_repo.erb
1548
1476
  - lib/chef/provider/systemd_unit.rb
1549
1477
  - lib/chef/provider/template.rb
1550
1478
  - lib/chef/provider/template/content.rb
@@ -1561,6 +1489,7 @@ files:
1561
1489
  - lib/chef/provider/windows_script.rb
1562
1490
  - lib/chef/provider/windows_task.rb
1563
1491
  - lib/chef/provider/yum_repository.rb
1492
+ - lib/chef/provider/zypper_repository.rb
1564
1493
  - lib/chef/provider_resolver.rb
1565
1494
  - lib/chef/providers.rb
1566
1495
  - lib/chef/recipe.rb
@@ -1569,6 +1498,7 @@ files:
1569
1498
  - lib/chef/resource.rb
1570
1499
  - lib/chef/resource/action_class.rb
1571
1500
  - lib/chef/resource/apt_package.rb
1501
+ - lib/chef/resource/apt_preference.rb
1572
1502
  - lib/chef/resource/apt_repository.rb
1573
1503
  - lib/chef/resource/apt_update.rb
1574
1504
  - lib/chef/resource/bash.rb
@@ -1658,6 +1588,7 @@ files:
1658
1588
  - lib/chef/resource/yum_package.rb
1659
1589
  - lib/chef/resource/yum_repository.rb
1660
1590
  - lib/chef/resource/zypper_package.rb
1591
+ - lib/chef/resource/zypper_repository.rb
1661
1592
  - lib/chef/resource_builder.rb
1662
1593
  - lib/chef/resource_collection.rb
1663
1594
  - lib/chef/resource_collection/resource_collection_serialization.rb
@@ -2579,6 +2510,7 @@ files:
2579
2510
  - spec/unit/property/state_spec.rb
2580
2511
  - spec/unit/property/validation_spec.rb
2581
2512
  - spec/unit/property_spec.rb
2513
+ - spec/unit/provider/apt_preference_spec.rb
2582
2514
  - spec/unit/provider/apt_repository_spec.rb
2583
2515
  - spec/unit/provider/apt_update_spec.rb
2584
2516
  - spec/unit/provider/cookbook_file/content_spec.rb
@@ -2705,6 +2637,7 @@ files:
2705
2637
  - spec/unit/pure_application_spec.rb
2706
2638
  - spec/unit/recipe_spec.rb
2707
2639
  - spec/unit/resource/apt_package_spec.rb
2640
+ - spec/unit/resource/apt_preference_spec.rb
2708
2641
  - spec/unit/resource/apt_repository_spec.rb
2709
2642
  - spec/unit/resource/apt_update_spec.rb
2710
2643
  - spec/unit/resource/bash_spec.rb
@@ -2780,6 +2713,7 @@ files:
2780
2713
  - spec/unit/resource/windows_task_spec.rb
2781
2714
  - spec/unit/resource/yum_package_spec.rb
2782
2715
  - spec/unit/resource/yum_repository_spec.rb
2716
+ - spec/unit/resource/zypper_repository_spec.rb
2783
2717
  - spec/unit/resource_builder_spec.rb
2784
2718
  - spec/unit/resource_collection/resource_list_spec.rb
2785
2719
  - spec/unit/resource_collection/resource_set_spec.rb
@@ -2828,19 +2762,18 @@ files:
2828
2762
  - spec/unit/version_constraint_spec.rb
2829
2763
  - spec/unit/version_string_spec.rb
2830
2764
  - spec/unit/win32/error_spec.rb
2765
+ - spec/unit/win32/link_spec.rb
2831
2766
  - spec/unit/win32/registry_spec.rb
2832
2767
  - spec/unit/win32/security_spec.rb
2833
2768
  - spec/unit/windows_service_spec.rb
2834
2769
  - tasks/announce.rb
2835
2770
  - tasks/bin/run_external_test
2836
2771
  - tasks/cbgb.rb
2837
- - tasks/changelog.rb
2838
2772
  - tasks/dependencies.rb
2839
2773
  - tasks/maintainers.rb
2840
2774
  - tasks/rspec.rb
2841
2775
  - tasks/templates/prerelease.md.erb
2842
2776
  - tasks/templates/release.md.erb
2843
- - tasks/version.rb
2844
2777
  homepage: https://www.chef.io
2845
2778
  licenses:
2846
2779
  - Apache-2.0
@@ -2861,7 +2794,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2861
2794
  version: '0'
2862
2795
  requirements: []
2863
2796
  rubyforge_project:
2864
- rubygems_version: 2.6.11
2797
+ rubygems_version: 2.6.12
2865
2798
  signing_key:
2866
2799
  specification_version: 4
2867
2800
  summary: A systems integration framework, built to bring the benefits of configuration
@@ -1,2 +0,0 @@
1
- ---
2
- BUNDLE_BIN: "bin"
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'aws.rb' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("aws-sdk-core", "aws.rb")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'berks' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("berkshelf", "berks")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'bundler' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("bundler", "bundler")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'chef-acceptance' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("chef-acceptance", "chef-acceptance")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'coderay' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("coderay", "coderay")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'erubis' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("erubis", "erubis")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'htmldiff' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("diff-lcs", "htmldiff")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'httpclient' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("httpclient", "httpclient")