chef 12.11.18-universal-mingw32 → 12.12.13-universal-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -4
- data/Rakefile +3 -2
- data/VERSION +1 -1
- data/acceptance/Gemfile.lock +22 -23
- data/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb +2 -41
- data/lib/chef/application/solo.rb +7 -0
- data/lib/chef/chef_fs/file_system/multiplexed_dir.rb +1 -1
- data/lib/chef/data_collector.rb +79 -43
- data/lib/chef/data_collector/messages.rb +4 -33
- data/lib/chef/data_collector/messages/helpers.rb +2 -2
- data/lib/chef/data_collector/resource_report.rb +21 -11
- data/lib/chef/decorator/unchain.rb +43 -0
- data/lib/chef/exceptions.rb +5 -0
- data/lib/chef/http.rb +5 -5
- data/lib/chef/knife/cookbook_create.rb +4 -0
- data/lib/chef/knife/cookbook_site_download.rb +8 -1
- data/lib/chef/knife/cookbook_site_install.rb +8 -0
- data/lib/chef/knife/cookbook_site_list.rb +8 -1
- data/lib/chef/knife/cookbook_site_search.rb +8 -1
- data/lib/chef/knife/cookbook_site_share.rb +8 -1
- data/lib/chef/knife/cookbook_site_show.rb +14 -3
- data/lib/chef/knife/cookbook_site_unshare.rb +8 -1
- data/lib/chef/knife/core/bootstrap_context.rb +1 -1
- data/lib/chef/knife/supermarket_download.rb +33 -0
- data/lib/chef/knife/supermarket_install.rb +33 -0
- data/lib/chef/knife/supermarket_list.rb +33 -0
- data/lib/chef/knife/supermarket_search.rb +33 -0
- data/lib/chef/knife/supermarket_share.rb +33 -0
- data/lib/chef/knife/supermarket_show.rb +33 -0
- data/lib/chef/knife/supermarket_unshare.rb +33 -0
- data/lib/chef/node.rb +13 -32
- data/lib/chef/node/attribute.rb +123 -70
- data/lib/chef/node/attribute_collections.rb +9 -130
- data/lib/chef/node/common_api.rb +124 -0
- data/lib/chef/node/immutable_collections.rb +27 -2
- data/lib/chef/property.rb +6 -2
- data/lib/chef/provider.rb +4 -5
- data/lib/chef/provider/batch.rb +1 -1
- data/lib/chef/provider/directory.rb +3 -1
- data/lib/chef/provider/package/openbsd.rb +1 -1
- data/lib/chef/provider/package/rubygems.rb +9 -3
- data/lib/chef/provider/package/windows/exe.rb +2 -5
- data/lib/chef/provider/powershell_script.rb +1 -1
- data/lib/chef/provider/remote_directory.rb +2 -0
- data/lib/chef/resource.rb +22 -17
- data/lib/chef/resource_builder.rb +9 -4
- data/lib/chef/shell.rb +1 -1
- data/lib/chef/version.rb +1 -1
- data/spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb +2 -4
- data/spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb +2 -3
- data/spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb +2 -2
- data/spec/data/run_context/cookbooks/dependency1/attributes/default.rb +2 -2
- data/spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb +2 -3
- data/spec/data/run_context/cookbooks/dependency2/attributes/default.rb +2 -3
- data/spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb +2 -3
- data/spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb +2 -3
- data/spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb +2 -3
- data/spec/functional/assets/chocolatey_feed/test-A.1.0.nupkg +0 -0
- data/spec/functional/assets/chocolatey_feed/test-A.1.5.nupkg +0 -0
- data/spec/functional/assets/chocolatey_feed/test-A.2.0.nupkg +0 -0
- data/spec/functional/assets/chocolatey_feed/test-B.1.0.nupkg +0 -0
- data/spec/functional/resource/dsc_script_spec.rb +1 -0
- data/spec/functional/resource/package_spec.rb +1 -1
- data/spec/functional/resource/template_spec.rb +3 -3
- data/spec/functional/shell_spec.rb +1 -1
- data/spec/integration/knife/client_bulk_delete_spec.rb +130 -0
- data/spec/integration/knife/client_create_spec.rb +69 -0
- data/spec/integration/knife/client_delete_spec.rb +63 -0
- data/spec/integration/knife/client_key_create_spec.rb +65 -0
- data/spec/integration/knife/client_key_delete_spec.rb +42 -0
- data/spec/integration/knife/client_key_list_spec.rb +60 -0
- data/spec/integration/knife/client_key_show_spec.rb +44 -0
- data/spec/integration/knife/client_list_spec.rb +48 -0
- data/spec/integration/knife/client_show_spec.rb +36 -0
- data/spec/integration/knife/cookbook_bulk_delete_spec.rb +64 -0
- data/spec/integration/knife/cookbook_download_spec.rb +95 -0
- data/spec/integration/knife/cookbook_list_spec.rb +54 -0
- data/spec/integration/knife/cookbook_show_spec.rb +159 -0
- data/spec/integration/knife/cookbook_upload_spec.rb +90 -0
- data/spec/integration/knife/data_bag_create_spec.rb +58 -0
- data/spec/integration/knife/data_bag_delete_spec.rb +58 -0
- data/spec/integration/knife/data_bag_from_file_spec.rb +115 -0
- data/spec/integration/knife/data_bag_list_spec.rb +43 -0
- data/spec/integration/knife/data_bag_show_spec.rb +53 -0
- data/spec/integration/knife/environment_compare_spec.rb +74 -0
- data/spec/integration/knife/environment_create_spec.rb +40 -0
- data/spec/integration/knife/environment_delete_spec.rb +36 -0
- data/spec/integration/knife/environment_from_file_spec.rb +115 -0
- data/spec/integration/knife/environment_list_spec.rb +41 -0
- data/spec/integration/knife/environment_show_spec.rb +56 -0
- data/spec/integration/knife/node_bulk_delete_spec.rb +51 -0
- data/spec/integration/knife/node_create_spec.rb +46 -0
- data/spec/integration/knife/node_delete_spec.rb +47 -0
- data/spec/integration/knife/node_environment_set_spec.rb +42 -0
- data/spec/integration/knife/node_from_file_spec.rb +58 -0
- data/spec/integration/knife/node_list_spec.rb +44 -0
- data/spec/integration/knife/node_run_list_add_spec.rb +53 -0
- data/spec/integration/knife/node_run_list_remove_spec.rb +35 -0
- data/spec/integration/knife/node_run_list_set_spec.rb +40 -0
- data/spec/integration/knife/node_show_spec.rb +35 -0
- data/spec/integration/knife/role_bulk_delete_spec.rb +51 -0
- data/spec/integration/knife/role_create_spec.rb +40 -0
- data/spec/integration/knife/role_delete_spec.rb +47 -0
- data/spec/integration/knife/role_from_file_spec.rb +95 -0
- data/spec/integration/knife/role_list_spec.rb +44 -0
- data/spec/integration/knife/role_show_spec.rb +50 -0
- data/spec/support/shared/integration/knife_support.rb +10 -3
- data/spec/unit/application/solo_spec.rb +7 -0
- data/spec/unit/cookbook_version_spec.rb +4 -4
- data/spec/unit/data_collector/messages/helpers_spec.rb +3 -7
- data/spec/unit/data_collector/messages_spec.rb +28 -45
- data/spec/unit/data_collector_spec.rb +40 -47
- data/spec/unit/knife/cookbook_create_spec.rb +1 -0
- data/spec/unit/knife/cookbook_site_download_spec.rb +1 -0
- data/spec/unit/knife/node_environment_set_spec.rb +0 -24
- data/spec/unit/knife/node_run_list_set_spec.rb +0 -25
- data/spec/unit/node/attribute_spec.rb +7 -9
- data/spec/unit/node/immutable_collections_spec.rb +4 -0
- data/spec/unit/node/vivid_mash_spec.rb +344 -0
- data/spec/unit/node_spec.rb +115 -26
- data/spec/unit/provider/directory_spec.rb +11 -1
- data/spec/unit/provider/package/windows/exe_spec.rb +14 -9
- data/spec/unit/provider/powershell_script_spec.rb +4 -4
- data/spec/unit/provider/remote_directory_spec.rb +15 -0
- data/spec/unit/recipe_spec.rb +31 -6
- data/spec/unit/run_context_spec.rb +2 -2
- data/spec/unit/shell/shell_session_spec.rb +1 -1
- data/tasks/dependencies.rb +0 -2
- metadata +55 -786
- data/acceptance/.bundle/config +0 -2
- data/acceptance/basics/.kitchen/logs/chef-current-install-ubuntu-1404.log +0 -2
- data/acceptance/basics/.kitchen/logs/kitchen.log +0 -3
- data/acceptance/fips/.kitchen/logs/fips-integration-centos-6.log +0 -3
- data/acceptance/fips/.kitchen/logs/fips-integration-windows-2012r2.log +0 -3
- data/acceptance/fips/.kitchen/logs/fips-unit-functional-centos-6.log +0 -3
- data/acceptance/fips/.kitchen/logs/fips-unit-functional-windows-2012r2.log +0 -3
- data/acceptance/fips/.kitchen/logs/kitchen.log +0 -6
- data/acceptance/trivial/.kitchen/logs/chef-current-install-windows-2012r2.log +0 -2
- data/acceptance/trivial/.kitchen/logs/kitchen.log +0 -3
- data/acceptance/windows-service/.kitchen/logs/chef-windows-service-windows-2012r2.log +0 -2
- data/acceptance/windows-service/.kitchen/logs/kitchen.log +0 -3
data/acceptance/.bundle/config
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:57:08.264892 #99884] INFO -- chef-current-install-ubuntu-1404: -----> Destroying <chef-current-install-ubuntu-1404>...
|
2
|
-
I, [2016-05-17T16:57:08.268893 #99884] INFO -- chef-current-install-ubuntu-1404: Finished destroying <chef-current-install-ubuntu-1404> (0m0.00s).
|
@@ -1,3 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:57:07.751600 #99884] INFO -- Kitchen: -----> Starting Kitchen (v1.8.0)
|
2
|
-
I, [2016-05-17T16:57:08.264892 #99884] INFO -- Kitchen: -----> Destroying <chef-current-install-ubuntu-1404>...
|
3
|
-
I, [2016-05-17T16:57:08.269892 #99884] INFO -- Kitchen: -----> Kitchen is finished. (0m0.52s)
|
@@ -1,3 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:57:09.340531 #92872] INFO -- fips-integration-centos-6: -----> Destroying <fips-integration-centos-6>...
|
2
|
-
I, [2016-05-17T16:57:16.692440 #92872] INFO -- fips-integration-centos-6: EC2 instance <i-fb885d3d> destroyed.
|
3
|
-
I, [2016-05-17T16:57:16.701442 #92872] INFO -- fips-integration-centos-6: Finished destroying <fips-integration-centos-6> (0m7.35s).
|
@@ -1,3 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:57:09.340531 #92872] INFO -- fips-integration-windows-2012r2: -----> Destroying <fips-integration-windows-2012r2>...
|
2
|
-
I, [2016-05-17T16:57:16.694441 #92872] INFO -- fips-integration-windows-2012r2: EC2 instance <i-7c8e5bba> destroyed.
|
3
|
-
I, [2016-05-17T16:57:16.701442 #92872] INFO -- fips-integration-windows-2012r2: Finished destroying <fips-integration-windows-2012r2> (0m7.36s).
|
@@ -1,3 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:57:09.338031 #92872] INFO -- fips-unit-functional-centos-6: -----> Destroying <fips-unit-functional-centos-6>...
|
2
|
-
I, [2016-05-17T16:57:16.693441 #92872] INFO -- fips-unit-functional-centos-6: EC2 instance <i-e7895c21> destroyed.
|
3
|
-
I, [2016-05-17T16:57:16.701442 #92872] INFO -- fips-unit-functional-centos-6: Finished destroying <fips-unit-functional-centos-6> (0m7.36s).
|
@@ -1,3 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:57:09.338031 #92872] INFO -- fips-unit-functional-windows-2012r2: -----> Destroying <fips-unit-functional-windows-2012r2>...
|
2
|
-
I, [2016-05-17T16:57:16.693441 #92872] INFO -- fips-unit-functional-windows-2012r2: EC2 instance <i-e4895c22> destroyed.
|
3
|
-
I, [2016-05-17T16:57:16.701442 #92872] INFO -- fips-unit-functional-windows-2012r2: Finished destroying <fips-unit-functional-windows-2012r2> (0m7.36s).
|
@@ -1,6 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:57:07.751600 #92872] INFO -- Kitchen: -----> Starting Kitchen (v1.8.0)
|
2
|
-
I, [2016-05-17T16:57:09.337530 #92872] INFO -- Kitchen: -----> Destroying <fips-unit-functional-windows-2012r2>...
|
3
|
-
I, [2016-05-17T16:57:09.338031 #92872] INFO -- Kitchen: -----> Destroying <fips-unit-functional-centos-6>...
|
4
|
-
I, [2016-05-17T16:57:09.340031 #92872] INFO -- Kitchen: -----> Destroying <fips-integration-windows-2012r2>...
|
5
|
-
I, [2016-05-17T16:57:09.340531 #92872] INFO -- Kitchen: -----> Destroying <fips-integration-centos-6>...
|
6
|
-
I, [2016-05-17T16:57:16.704440 #92872] INFO -- Kitchen: -----> Kitchen is finished. (0m8.95s)
|
@@ -1,2 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:59:21.228037 #65592] INFO -- chef-current-install-windows-2012r2: -----> Destroying <chef-current-install-windows-2012r2>...
|
2
|
-
I, [2016-05-17T16:59:21.229037 #65592] INFO -- chef-current-install-windows-2012r2: Finished destroying <chef-current-install-windows-2012r2> (0m0.00s).
|
@@ -1,3 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:59:20.024193 #65592] INFO -- Kitchen: -----> Starting Kitchen (v1.8.0)
|
2
|
-
I, [2016-05-17T16:59:21.227039 #65592] INFO -- Kitchen: -----> Destroying <chef-current-install-windows-2012r2>...
|
3
|
-
I, [2016-05-17T16:59:21.229037 #65592] INFO -- Kitchen: -----> Kitchen is finished. (0m1.20s)
|
@@ -1,2 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:59:21.228037 #99748] INFO -- chef-windows-service-windows-2012r2: -----> Destroying <chef-windows-service-windows-2012r2>...
|
2
|
-
I, [2016-05-17T16:59:21.229037 #99748] INFO -- chef-windows-service-windows-2012r2: Finished destroying <chef-windows-service-windows-2012r2> (0m0.00s).
|
@@ -1,3 +0,0 @@
|
|
1
|
-
I, [2016-05-17T16:59:20.310228 #99748] INFO -- Kitchen: -----> Starting Kitchen (v1.8.0)
|
2
|
-
I, [2016-05-17T16:59:21.227039 #99748] INFO -- Kitchen: -----> Destroying <chef-windows-service-windows-2012r2>...
|
3
|
-
I, [2016-05-17T16:59:21.229037 #99748] INFO -- Kitchen: -----> Kitchen is finished. (0m0.92s)
|