chef 12.13.37-universal-mingw32 → 12.14.60-universal-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +48 -95
- data/Gemfile +6 -1
- data/README.md +9 -11
- data/VERSION +1 -1
- data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +0 -1
- data/acceptance/Gemfile +4 -7
- data/acceptance/Gemfile.lock +59 -92
- data/acceptance/basics/test/integration/helpers/serverspec/Gemfile +8 -0
- data/acceptance/data-collector/test/integration/helpers/serverspec/Gemfile +8 -0
- data/acceptance/fips/test/integration/fips-integration/serverspec/Gemfile +6 -0
- data/acceptance/fips/test/integration/fips-unit-functional/serverspec/Gemfile +4 -0
- data/chef.gemspec +3 -2
- data/lib/chef/application/client.rb +4 -4
- data/lib/chef/application/solo.rb +2 -2
- data/lib/chef/chef_fs/command_line.rb +36 -34
- data/lib/chef/chef_fs/data_handler/data_handler_base.rb +2 -2
- data/lib/chef/chef_fs/file_pattern.rb +1 -1
- data/lib/chef/chef_fs/file_system.rb +139 -137
- data/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb +2 -6
- data/lib/chef/cookbook/cookbook_version_loader.rb +27 -22
- data/lib/chef/cookbook/metadata.rb +1 -1
- data/lib/chef/cookbook/synchronizer.rb +3 -3
- data/lib/chef/cookbook_site_streaming_uploader.rb +3 -3
- data/lib/chef/cookbook_uploader.rb +1 -1
- data/lib/chef/cookbook_version.rb +6 -6
- data/lib/chef/dsl/powershell.rb +1 -1
- data/lib/chef/event_dispatch/base.rb +2 -2
- data/lib/chef/exceptions.rb +1 -1
- data/lib/chef/file_cache.rb +1 -1
- data/lib/chef/formatters/base.rb +2 -2
- data/lib/chef/formatters/doc.rb +2 -2
- data/lib/chef/http.rb +48 -18
- data/lib/chef/http/auth_credentials.rb +1 -1
- data/lib/chef/http/basic_client.rb +11 -2
- data/lib/chef/http/socketless_chef_zero_client.rb +2 -2
- data/lib/chef/key.rb +55 -56
- data/lib/chef/knife.rb +70 -61
- data/lib/chef/knife/client_delete.rb +2 -2
- data/lib/chef/knife/cookbook_bulk_delete.rb +1 -1
- data/lib/chef/knife/cookbook_show.rb +1 -1
- data/lib/chef/knife/core/gem_glob_loader.rb +3 -3
- data/lib/chef/knife/search.rb +2 -2
- data/lib/chef/knife/ssh.rb +19 -21
- data/lib/chef/knife/status.rb +2 -2
- data/lib/chef/mixin/command/unix.rb +2 -2
- data/lib/chef/mixin/powershell_type_coercions.rb +1 -1
- data/lib/chef/mixin/properties.rb +3 -0
- data/lib/chef/mixin/securable.rb +2 -2
- data/lib/chef/mixin/shell_out.rb +30 -0
- data/lib/chef/mixin/uris.rb +2 -1
- data/lib/chef/mixin/windows_architecture_helper.rb +3 -4
- data/lib/chef/monkey_patches/webrick-utils.rb +2 -2
- data/lib/chef/monologger.rb +1 -1
- data/lib/chef/node.rb +2 -2
- data/lib/chef/node/attribute.rb +3 -3
- data/lib/chef/platform/provider_mapping.rb +5 -2
- data/lib/chef/property.rb +14 -3
- data/lib/chef/provider/apt_repository.rb +3 -7
- data/lib/chef/provider/apt_update.rb +4 -6
- data/lib/chef/provider/cron.rb +1 -2
- data/lib/chef/provider/dsc_script.rb +4 -4
- data/lib/chef/provider/group/usermod.rb +1 -1
- data/lib/chef/provider/link.rb +10 -3
- data/lib/chef/provider/osx_profile.rb +10 -10
- data/lib/chef/provider/package.rb +2 -12
- data/lib/chef/provider/package/rubygems.rb +17 -16
- data/lib/chef/provider/package/windows.rb +2 -0
- data/lib/chef/provider/package/windows/exe.rb +1 -1
- data/lib/chef/provider/package/windows/registry_uninstall_entry.rb +0 -2
- data/lib/chef/provider/package/yum/rpm_utils.rb +8 -8
- data/lib/chef/provider/package/yum/yum_cache.rb +1 -1
- data/lib/chef/provider/remote_file/ftp.rb +2 -2
- data/lib/chef/provider/remote_file/sftp.rb +2 -2
- data/lib/chef/provider/service/debian.rb +2 -2
- data/lib/chef/provider/service/simple.rb +4 -3
- data/lib/chef/provider/service/solaris.rb +1 -1
- data/lib/chef/provider/service/systemd.rb +2 -2
- data/lib/chef/provider/service/upstart.rb +8 -5
- data/lib/chef/provider/support/yum_repo.erb +125 -0
- data/lib/chef/provider/systemd_unit.rb +11 -2
- data/lib/chef/provider/template_finder.rb +1 -1
- data/lib/chef/provider/user.rb +20 -16
- data/lib/chef/provider/user/aix.rb +5 -2
- data/lib/chef/provider/user/dscl.rb +1 -0
- data/lib/chef/provider/user/linux.rb +128 -0
- data/lib/chef/provider/user/pw.rb +2 -1
- data/lib/chef/provider/user/solaris.rb +3 -2
- data/lib/chef/provider/user/useradd.rb +5 -4
- data/lib/chef/provider/user/windows.rb +1 -1
- data/lib/chef/provider/windows_script.rb +5 -2
- data/lib/chef/provider/yum_repository.rb +121 -0
- data/lib/chef/providers.rb +4 -2
- data/lib/chef/resource.rb +7 -9
- data/lib/chef/resource/conditional.rb +9 -1
- data/lib/chef/resource/launchd.rb +1 -1
- data/lib/chef/resource/user.rb +3 -3
- data/lib/chef/resource/user/aix_user.rb +31 -0
- data/lib/chef/resource/user/dscl_user.rb +31 -0
- data/lib/chef/resource/user/linux_user.rb +51 -0
- data/lib/chef/resource/user/pw_user.rb +31 -0
- data/lib/chef/resource/user/solaris_user.rb +31 -0
- data/lib/chef/resource/user/windows_user.rb +31 -0
- data/lib/chef/resource/yum_package.rb +13 -12
- data/lib/chef/resource/yum_repository.rb +76 -0
- data/lib/chef/resource_builder.rb +1 -1
- data/lib/chef/resource_collection/stepable_iterator.rb +1 -3
- data/lib/chef/resource_reporter.rb +5 -5
- data/lib/chef/resources.rb +7 -0
- data/lib/chef/run_context.rb +5 -3
- data/lib/chef/run_context/cookbook_compiler.rb +3 -2
- data/lib/chef/run_list.rb +2 -2
- data/lib/chef/search/query.rb +11 -8
- data/lib/chef/shell/ext.rb +2 -2
- data/lib/chef/shell/shell_session.rb +1 -1
- data/lib/chef/util/dsc/configuration_generator.rb +1 -1
- data/lib/chef/util/powershell/cmdlet.rb +5 -2
- data/lib/chef/util/selinux.rb +1 -1
- data/lib/chef/version.rb +1 -1
- data/lib/chef/version_class.rb +2 -2
- data/lib/chef/version_constraint.rb +2 -2
- data/lib/chef/win32/api/error.rb +2 -2
- data/lib/chef/win32/api/net.rb +1 -1
- data/lib/chef/win32/eventlog.rb +1 -1
- data/lib/chef/win32/net.rb +1 -1
- data/lib/chef/win32/security/sid.rb +1 -1
- data/spec/functional/assets/testchefsubsys +2 -3
- data/spec/functional/event_loggers/windows_eventlog_spec.rb +11 -8
- data/spec/functional/file_content_management/deploy_strategies_spec.rb +1 -1
- data/spec/functional/http/simple_spec.rb +2 -2
- data/spec/functional/knife/cookbook_delete_spec.rb +5 -5
- data/spec/functional/knife/exec_spec.rb +6 -6
- data/spec/functional/knife/ssh_spec.rb +4 -4
- data/spec/functional/notifications_spec.rb +2 -2
- data/spec/functional/provider/whyrun_safe_ruby_block_spec.rb +2 -2
- data/spec/functional/rebooter_spec.rb +5 -5
- data/spec/functional/resource/bash_spec.rb +2 -2
- data/spec/functional/resource/deploy_revision_spec.rb +1 -1
- data/spec/functional/resource/dpkg_package_spec.rb +2 -2
- data/spec/functional/resource/dsc_resource_spec.rb +5 -5
- data/spec/functional/resource/dsc_script_spec.rb +27 -22
- data/spec/functional/resource/env_spec.rb +4 -4
- data/spec/functional/resource/execute_spec.rb +4 -4
- data/spec/functional/resource/group_spec.rb +20 -8
- data/spec/functional/resource/link_spec.rb +34 -0
- data/spec/functional/resource/ohai_spec.rb +6 -6
- data/spec/functional/resource/reboot_spec.rb +2 -2
- data/spec/functional/resource/remote_file_spec.rb +16 -7
- data/spec/functional/resource/user/dscl_spec.rb +3 -3
- data/spec/functional/resource/user/useradd_spec.rb +32 -26
- data/spec/functional/resource/windows_service_spec.rb +15 -15
- data/spec/functional/rest_spec.rb +2 -2
- data/spec/functional/run_lock_spec.rb +9 -9
- data/spec/functional/tiny_server_spec.rb +9 -8
- data/spec/functional/win32/crypto_spec.rb +1 -1
- data/spec/functional/win32/security_spec.rb +8 -8
- data/spec/integration/client/client_spec.rb +6 -4
- data/spec/integration/knife/chef_repo_path_spec.rb +70 -1
- data/spec/integration/knife/upload_spec.rb +1 -1
- data/spec/integration/recipes/lwrp_inline_resources_spec.rb +6 -6
- data/spec/integration/recipes/noop_resource_spec.rb +4 -4
- data/spec/integration/recipes/provider_choice.rb +3 -3
- data/spec/integration/recipes/recipe_dsl_spec.rb +318 -317
- data/spec/integration/recipes/resource_action_spec.rb +50 -54
- data/spec/integration/recipes/resource_converge_if_changed_spec.rb +34 -34
- data/spec/integration/recipes/resource_load_spec.rb +24 -24
- data/spec/integration/solo/solo_spec.rb +21 -30
- data/spec/scripts/ssl-serve.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/stress/win32/security_spec.rb +4 -4
- data/spec/support/chef_helpers.rb +22 -0
- data/spec/support/platform_helpers.rb +5 -1
- data/spec/support/shared/context/client.rb +3 -2
- data/spec/support/shared/functional/file_resource.rb +5 -4
- data/spec/support/shared/functional/http.rb +16 -16
- data/spec/support/shared/functional/securable_resource.rb +5 -5
- data/spec/support/shared/functional/win32_service.rb +5 -7
- data/spec/support/shared/integration/app_server_support.rb +1 -3
- data/spec/support/shared/integration/knife_support.rb +0 -2
- data/spec/support/shared/shared_examples.rb +2 -2
- data/spec/support/shared/unit/api_versioning.rb +2 -2
- data/spec/support/shared/unit/application_dot_d.rb +9 -6
- data/spec/support/shared/unit/provider/file.rb +2 -2
- data/spec/support/shared/unit/provider/useradd_based_user_provider.rb +49 -80
- data/spec/support/shared/unit/resource/static_provider_resolution.rb +2 -2
- data/spec/support/shared/unit/script_resource.rb +4 -4
- data/spec/support/shared/unit/user_and_client_shared.rb +4 -4
- data/spec/tiny_server.rb +51 -66
- data/spec/unit/api_client_v1_spec.rb +2 -2
- data/spec/unit/application_spec.rb +1 -1
- data/spec/unit/audit/audit_event_proxy_spec.rb +34 -27
- data/spec/unit/audit/audit_reporter_spec.rb +32 -23
- data/spec/unit/audit/control_group_data_spec.rb +19 -14
- data/spec/unit/chef_class_spec.rb +1 -1
- data/spec/unit/chef_fs/data_handler/group_handler_spec.rb +1 -1
- data/spec/unit/chef_fs/diff_spec.rb +4 -4
- data/spec/unit/chef_fs/file_system/operation_failed_error_spec.rb +4 -4
- data/spec/unit/chef_fs/file_system_spec.rb +2 -2
- data/spec/unit/chef_fs/parallelizer.rb +5 -7
- data/spec/unit/cookbook/metadata_spec.rb +98 -98
- data/spec/unit/cookbook/synchronizer_spec.rb +7 -0
- data/spec/unit/cookbook_loader_spec.rb +24 -24
- data/spec/unit/cookbook_version_file_specificity_spec.rb +8 -8
- data/spec/unit/daemon_spec.rb +1 -1
- data/spec/unit/data_bag_item_spec.rb +18 -18
- data/spec/unit/data_bag_spec.rb +2 -2
- data/spec/unit/data_collector/messages/helpers_spec.rb +9 -9
- data/spec/unit/data_collector/messages_spec.rb +2 -2
- data/spec/unit/data_collector_spec.rb +19 -19
- data/spec/unit/dsl/audit_spec.rb +3 -3
- data/spec/unit/dsl/data_query_spec.rb +3 -2
- data/spec/unit/dsl/declare_resource_spec.rb +10 -10
- data/spec/unit/encrypted_data_bag_item/check_encrypted_spec.rb +3 -2
- data/spec/unit/encrypted_data_bag_item_spec.rb +3 -2
- data/spec/unit/environment_spec.rb +6 -6
- data/spec/unit/event_dispatch/dispatcher_spec.rb +2 -2
- data/spec/unit/file_access_control_spec.rb +3 -3
- data/spec/unit/file_content_management/tempfile_spec.rb +2 -2
- data/spec/unit/formatters/error_inspectors/api_error_formatting_spec.rb +2 -2
- data/spec/unit/guard_interpreter/resource_guard_interpreter_spec.rb +2 -2
- data/spec/unit/http/basic_client_spec.rb +20 -0
- data/spec/unit/http/validate_content_length_spec.rb +8 -8
- data/spec/unit/http_spec.rb +14 -0
- data/spec/unit/knife/bootstrap/chef_vault_handler_spec.rb +2 -2
- data/spec/unit/knife/bootstrap/client_builder_spec.rb +2 -2
- data/spec/unit/knife/bootstrap_spec.rb +8 -6
- data/spec/unit/knife/client_bulk_delete_spec.rb +8 -8
- data/spec/unit/knife/client_edit_spec.rb +2 -2
- data/spec/unit/knife/configure_client_spec.rb +2 -2
- data/spec/unit/knife/cookbook_metadata_spec.rb +4 -4
- data/spec/unit/knife/cookbook_site_install_spec.rb +6 -5
- data/spec/unit/knife/cookbook_site_share_spec.rb +2 -2
- data/spec/unit/knife/core/hashed_command_loader_spec.rb +5 -4
- data/spec/unit/knife/core/node_editor_spec.rb +3 -3
- data/spec/unit/knife/core/ui_spec.rb +2 -2
- data/spec/unit/knife/data_bag_from_file_spec.rb +4 -3
- data/spec/unit/knife/data_bag_show_spec.rb +3 -2
- data/spec/unit/knife/key_create_spec.rb +14 -14
- data/spec/unit/knife/key_delete_spec.rb +2 -2
- data/spec/unit/knife/key_edit_spec.rb +16 -16
- data/spec/unit/knife/key_list_spec.rb +6 -6
- data/spec/unit/knife/key_show_spec.rb +4 -4
- data/spec/unit/knife/status_spec.rb +3 -2
- data/spec/unit/knife/user_create_spec.rb +4 -4
- data/spec/unit/knife_spec.rb +7 -6
- data/spec/unit/lwrp_spec.rb +6 -6
- data/spec/unit/mixin/api_version_request_handling_spec.rb +2 -2
- data/spec/unit/mixin/command_spec.rb +17 -14
- data/spec/unit/mixin/deprecation_spec.rb +1 -1
- data/spec/unit/mixin/homebrew_user_spec.rb +2 -2
- data/spec/unit/mixin/params_validate_spec.rb +53 -52
- data/spec/unit/mixin/powershell_out_spec.rb +2 -2
- data/spec/unit/mixin/powershell_type_coercions_spec.rb +2 -2
- data/spec/unit/mixin/shell_out_spec.rb +1 -1
- data/spec/unit/mixin/xml_escape_spec.rb +3 -3
- data/spec/unit/node_spec.rb +2 -2
- data/spec/unit/platform/query_helpers_spec.rb +3 -3
- data/spec/unit/property_spec.rb +4 -4
- data/spec/unit/provider/cookbook_file_spec.rb +4 -4
- data/spec/unit/provider/cron/unix_spec.rb +4 -4
- data/spec/unit/provider/cron_spec.rb +2 -2
- data/spec/unit/provider/deploy_spec.rb +8 -8
- data/spec/unit/provider/dsc_resource_spec.rb +11 -10
- data/spec/unit/provider/dsc_script_spec.rb +9 -9
- data/spec/unit/provider/env/windows_spec.rb +8 -8
- data/spec/unit/provider/file/content_spec.rb +6 -6
- data/spec/unit/provider/file_spec.rb +4 -4
- data/spec/unit/provider/launchd_spec.rb +2 -1
- data/spec/unit/provider/link_spec.rb +155 -0
- data/spec/unit/provider/mount/mount_spec.rb +5 -5
- data/spec/unit/provider/mount/solaris_spec.rb +48 -48
- data/spec/unit/provider/osx_profile_spec.rb +6 -0
- data/spec/unit/provider/package/chocolatey_spec.rb +4 -4
- data/spec/unit/provider/package/freebsd/port_spec.rb +4 -4
- data/spec/unit/provider/package/rubygems_spec.rb +50 -44
- data/spec/unit/provider/package/windows/exe_spec.rb +9 -0
- data/spec/unit/provider/package/yum_spec.rb +61 -60
- data/spec/unit/provider/package_spec.rb +2 -2
- data/spec/unit/provider/powershell_script_spec.rb +4 -4
- data/spec/unit/provider/remote_directory_spec.rb +1 -1
- data/spec/unit/provider/remote_file/ftp_spec.rb +4 -4
- data/spec/unit/provider/remote_file/local_file_spec.rb +4 -2
- data/spec/unit/provider/remote_file/sftp_spec.rb +4 -4
- data/spec/unit/provider/remote_file_spec.rb +4 -4
- data/spec/unit/provider/script_spec.rb +4 -4
- data/spec/unit/provider/service/debian_service_spec.rb +4 -4
- data/spec/unit/provider/service/freebsd_service_spec.rb +12 -8
- data/spec/unit/provider/service/openbsd_service_spec.rb +12 -8
- data/spec/unit/provider/service/systemd_service_spec.rb +4 -4
- data/spec/unit/provider/service/upstart_service_spec.rb +27 -12
- data/spec/unit/provider/service/windows_spec.rb +10 -10
- data/spec/unit/provider/systemd_unit_spec.rb +2 -2
- data/spec/unit/provider/template/content_spec.rb +8 -8
- data/spec/unit/provider/template_spec.rb +8 -8
- data/spec/unit/provider/user/dscl_spec.rb +51 -51
- data/spec/unit/provider/user/linux_spec.rb +76 -0
- data/spec/unit/provider/user/pw_spec.rb +3 -6
- data/spec/unit/provider/user/solaris_spec.rb +5 -5
- data/spec/unit/provider/user/windows_spec.rb +3 -3
- data/spec/unit/provider/user_spec.rb +2 -2
- data/spec/unit/provider/yum_repository_spec.rb +35 -0
- data/spec/unit/provider_resolver_spec.rb +306 -264
- data/spec/unit/recipe_spec.rb +8 -7
- data/spec/unit/resource/apt_repository_spec.rb +4 -4
- data/spec/unit/resource/apt_update_spec.rb +4 -4
- data/spec/unit/resource/conditional_spec.rb +46 -0
- data/spec/unit/resource/dsc_resource_spec.rb +8 -8
- data/spec/unit/resource/dsc_script_spec.rb +4 -4
- data/spec/unit/resource/freebsd_package_spec.rb +6 -6
- data/spec/unit/resource/launchd_spec.rb +3 -2
- data/spec/unit/resource/osx_profile_spec.rb +3 -2
- data/spec/unit/resource/remote_file_spec.rb +6 -6
- data/spec/unit/resource/service_spec.rb +14 -14
- data/spec/unit/resource/user_spec.rb +1 -1
- data/spec/unit/resource/yum_repository_spec.rb +49 -0
- data/spec/unit/resource_collection_spec.rb +4 -4
- data/spec/unit/resource_definition_spec.rb +11 -11
- data/spec/unit/resource_reporter_spec.rb +4 -4
- data/spec/unit/resource_resolver_spec.rb +6 -6
- data/spec/unit/resource_spec.rb +36 -16
- data/spec/unit/run_context/child_run_context_spec.rb +4 -4
- data/spec/unit/run_context/cookbook_compiler_spec.rb +43 -1
- data/spec/unit/run_context_spec.rb +8 -8
- data/spec/unit/run_list/run_list_expansion_spec.rb +2 -2
- data/spec/unit/runner_spec.rb +2 -2
- data/spec/unit/search/query_spec.rb +15 -14
- data/spec/unit/user_v1_spec.rb +8 -8
- data/spec/unit/util/dsc/configuration_generator_spec.rb +12 -12
- data/spec/unit/util/dsc/local_configuration_manager_spec.rb +12 -9
- data/spec/unit/util/dsc/resource_store.rb +8 -6
- data/spec/unit/util/editor_spec.rb +6 -6
- data/spec/unit/util/powershell/cmdlet_spec.rb +10 -10
- data/tasks/bin/bundle-platform +1 -0
- data/tasks/bin/bundler_patch.rb +27 -0
- data/tasks/cbgb.rb +2 -2
- data/tasks/maintainers.rb +2 -2
- metadata +37 -8
- data/spec/unit/provider/user/useradd_spec.rb +0 -51
data/spec/unit/user_v1_spec.rb
CHANGED
@@ -332,7 +332,7 @@ describe Chef::UserV1 do
|
|
332
332
|
@user.password "some_password"
|
333
333
|
end
|
334
334
|
|
335
|
-
let(:payload)
|
335
|
+
let(:payload) do
|
336
336
|
{
|
337
337
|
:username => "some_username",
|
338
338
|
:display_name => "some_display_name",
|
@@ -342,7 +342,7 @@ describe Chef::UserV1 do
|
|
342
342
|
:email => "some_email",
|
343
343
|
:password => "some_password",
|
344
344
|
}
|
345
|
-
|
345
|
+
end
|
346
346
|
|
347
347
|
context "when server API V1 is valid on the Chef Server receiving the request" do
|
348
348
|
context "when the user submits valid data" do
|
@@ -354,7 +354,7 @@ describe Chef::UserV1 do
|
|
354
354
|
end
|
355
355
|
|
356
356
|
context "when server API V1 is not valid on the Chef Server receiving the request" do
|
357
|
-
let(:payload)
|
357
|
+
let(:payload) do
|
358
358
|
{
|
359
359
|
:username => "some_username",
|
360
360
|
:display_name => "some_display_name",
|
@@ -365,7 +365,7 @@ describe Chef::UserV1 do
|
|
365
365
|
:password => "some_password",
|
366
366
|
:public_key => "some_public_key",
|
367
367
|
}
|
368
|
-
|
368
|
+
end
|
369
369
|
|
370
370
|
before do
|
371
371
|
@user.public_key "some_public_key"
|
@@ -442,7 +442,7 @@ describe Chef::UserV1 do
|
|
442
442
|
end # update
|
443
443
|
|
444
444
|
describe "create" do
|
445
|
-
let(:payload)
|
445
|
+
let(:payload) do
|
446
446
|
{
|
447
447
|
:username => "some_username",
|
448
448
|
:display_name => "some_display_name",
|
@@ -451,7 +451,7 @@ describe Chef::UserV1 do
|
|
451
451
|
:email => "some_email",
|
452
452
|
:password => "some_password",
|
453
453
|
}
|
454
|
-
|
454
|
+
end
|
455
455
|
before do
|
456
456
|
@user.username "some_username"
|
457
457
|
@user.display_name "some_display_name"
|
@@ -506,11 +506,11 @@ describe Chef::UserV1 do
|
|
506
506
|
# DEPRECATION
|
507
507
|
# This can be removed after API V0 support is gone
|
508
508
|
describe "reregister" do
|
509
|
-
let(:payload)
|
509
|
+
let(:payload) do
|
510
510
|
{
|
511
511
|
"username" => "some_username",
|
512
512
|
}
|
513
|
-
|
513
|
+
end
|
514
514
|
|
515
515
|
before do
|
516
516
|
@user.username "some_username"
|
@@ -25,7 +25,7 @@ describe Chef::Util::DSC::ConfigurationGenerator do
|
|
25
25
|
Chef::Util::DSC::ConfigurationGenerator.new(node, "tmp")
|
26
26
|
end
|
27
27
|
|
28
|
-
describe
|
28
|
+
describe "#validate_configuration_name!" do
|
29
29
|
it "should not raise an error if a name contains all upper case letters" do
|
30
30
|
conf_man.send(:validate_configuration_name!, "HELLO")
|
31
31
|
end
|
@@ -40,9 +40,9 @@ describe Chef::Util::DSC::ConfigurationGenerator do
|
|
40
40
|
|
41
41
|
%w{! @ # $ % ^ & * & * ( ) - = + \{ \} . ? < > \\ /}.each do |sym|
|
42
42
|
it "raises an Argument error if it configuration name contains #{sym}" do
|
43
|
-
expect
|
43
|
+
expect do
|
44
44
|
conf_man.send(:validate_configuration_name!, "Hello#{sym}")
|
45
|
-
|
45
|
+
end.to raise_error(ArgumentError)
|
46
46
|
end
|
47
47
|
end
|
48
48
|
end
|
@@ -57,15 +57,15 @@ describe Chef::Util::DSC::ConfigurationGenerator do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
it "should raise an ArgumentError if you try to override outputpath" do
|
60
|
-
expect
|
60
|
+
expect do
|
61
61
|
conf_man.send(:get_merged_configuration_flags!, { "outputpath" => "a" }, "hello")
|
62
|
-
|
62
|
+
end.to raise_error(ArgumentError)
|
63
63
|
end
|
64
64
|
|
65
65
|
it "should be case insensitive for switches that are not allowed" do
|
66
|
-
expect
|
66
|
+
expect do
|
67
67
|
conf_man.send(:get_merged_configuration_flags!, { "OutputPath" => "a" }, "hello")
|
68
|
-
|
68
|
+
end.to raise_error(ArgumentError)
|
69
69
|
end
|
70
70
|
|
71
71
|
it "should be case insensitive to switches that are allowed" do
|
@@ -83,15 +83,15 @@ describe Chef::Util::DSC::ConfigurationGenerator do
|
|
83
83
|
end
|
84
84
|
|
85
85
|
it "should raise an ArgumentError if you try to override outputpath" do
|
86
|
-
expect
|
86
|
+
expect do
|
87
87
|
conf_man.send(:get_merged_configuration_flags!, { :outputpath => "a" }, "hello")
|
88
|
-
|
88
|
+
end.to raise_error(ArgumentError)
|
89
89
|
end
|
90
90
|
|
91
91
|
it "should be case insensitive for switches that are not allowed" do
|
92
|
-
expect
|
92
|
+
expect do
|
93
93
|
conf_man.send(:get_merged_configuration_flags!, { :OutputPath => "a" }, "hello")
|
94
|
-
|
94
|
+
end.to raise_error(ArgumentError)
|
95
95
|
end
|
96
96
|
|
97
97
|
it "should be case insensitive to switches that are allowed" do
|
@@ -121,7 +121,7 @@ describe Chef::Util::DSC::ConfigurationGenerator do
|
|
121
121
|
#
|
122
122
|
end
|
123
123
|
|
124
|
-
describe
|
124
|
+
describe "#write_document_generation_script" do
|
125
125
|
let(:file_like_object) { double("file like object") }
|
126
126
|
|
127
127
|
it "should write the input to a file" do
|
@@ -23,15 +23,17 @@ describe Chef::Util::DSC::LocalConfigurationManager do
|
|
23
23
|
|
24
24
|
let(:lcm) { Chef::Util::DSC::LocalConfigurationManager.new(nil, "tmp") }
|
25
25
|
|
26
|
-
let(:normal_lcm_output)
|
26
|
+
let(:normal_lcm_output) do
|
27
|
+
<<-EOH
|
27
28
|
logtype: [machinename]: LCM: [ Start Set ]
|
28
29
|
logtype: [machinename]: LCM: [ Start Resource ] [name]
|
29
30
|
logtype: [machinename]: LCM: [ End Resource ] [name]
|
30
31
|
logtype: [machinename]: LCM: [ End Set ]
|
31
32
|
EOH
|
32
|
-
|
33
|
+
end
|
33
34
|
|
34
|
-
let(:no_whatif_lcm_output)
|
35
|
+
let(:no_whatif_lcm_output) do
|
36
|
+
<<-EOH
|
35
37
|
Start-DscConfiguration : A parameter cannot be found\r\n that matches parameter name 'whatif'.
|
36
38
|
At line:1 char:123
|
37
39
|
+ run-somecommand -whatif
|
@@ -39,16 +41,17 @@ At line:1 char:123
|
|
39
41
|
+ CategoryInfo : InvalidArgument: (:) [Start-DscConfiguration], ParameterBindingException
|
40
42
|
+ FullyQualifiedErrorId : NamedParameterNotFound,SomeCompany.SomeAssembly.Commands.RunSomeCommand
|
41
43
|
EOH
|
42
|
-
|
44
|
+
end
|
43
45
|
|
44
|
-
let(:dsc_resource_import_failure_output)
|
46
|
+
let(:dsc_resource_import_failure_output) do
|
47
|
+
<<-EOH
|
45
48
|
PowerShell provider MSFT_xWebsite failed to execute Test-TargetResource functionality with error message: Please ensure that WebAdministration module is installed. + CategoryInfo : InvalidOperation: (:) [], CimException + FullyQualifiedErrorId : ProviderOperationExecutionFailure + PSComputerName : . PowerShell provider MSFT_xWebsite failed to execute Test-TargetResource functionality with error message: Please ensure that WebAdministration module is installed. + CategoryInfo : InvalidOperation: (:) [], CimException + FullyQualifiedErrorId : ProviderOperationExecutionFailure + PSComputerName : . The SendConfigurationApply function did not succeed. + CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException + FullyQualifiedErrorId : MI RESULT 1 + PSComputerName : .
|
46
49
|
EOH
|
47
|
-
|
50
|
+
end
|
48
51
|
|
49
|
-
let(:lcm_status)
|
52
|
+
let(:lcm_status) do
|
50
53
|
double("LCM cmdlet status", :stderr => lcm_standard_error, :return_value => lcm_standard_output, :succeeded? => lcm_cmdlet_success)
|
51
|
-
|
54
|
+
end
|
52
55
|
|
53
56
|
describe "test_configuration method invocation" do
|
54
57
|
context "when interacting with the LCM using a PowerShell cmdlet" do
|
@@ -77,7 +80,7 @@ EOH
|
|
77
80
|
let(:lcm_standard_error) { no_whatif_lcm_output }
|
78
81
|
let(:lcm_cmdlet_success) { false }
|
79
82
|
|
80
|
-
it
|
83
|
+
it "returns true when passed to #whatif_not_supported?" do
|
81
84
|
expect(lcm.send(:whatif_not_supported?, no_whatif_lcm_output)).to be_truthy
|
82
85
|
end
|
83
86
|
|
@@ -21,28 +21,30 @@ require "chef/util/dsc/resource_store"
|
|
21
21
|
|
22
22
|
describe Chef::Util::DSC::ResourceStore do
|
23
23
|
let(:resource_store) { Chef::Util::DSC::ResourceStore.new }
|
24
|
-
let(:resource_a)
|
24
|
+
let(:resource_a) do
|
25
|
+
{
|
25
26
|
"ResourceType" => "AFoo",
|
26
27
|
"Name" => "Foo",
|
27
28
|
"Module" => { "Name" => "ModuleA" },
|
28
29
|
}
|
29
|
-
|
30
|
+
end
|
30
31
|
|
31
|
-
let(:resource_b)
|
32
|
+
let(:resource_b) do
|
33
|
+
{
|
32
34
|
"ResourceType" => "BFoo",
|
33
35
|
"Name" => "Foo",
|
34
36
|
"Module" => { "Name" => "ModuleB" },
|
35
37
|
}
|
36
|
-
|
38
|
+
end
|
37
39
|
|
38
40
|
context "when resources are not cached" do
|
39
|
-
context
|
41
|
+
context "when calling #resources" do
|
40
42
|
it "returns an empty array" do
|
41
43
|
expect(resource_store.resources).to eql([])
|
42
44
|
end
|
43
45
|
end
|
44
46
|
|
45
|
-
context
|
47
|
+
context "when calling #find" do
|
46
48
|
it "returns an empty list if it cannot find any matching resources" do
|
47
49
|
expect(resource_store).to receive(:query_resource).and_return([])
|
48
50
|
expect(resource_store.find("foo")).to eql([])
|
@@ -2,7 +2,7 @@ require "spec_helper"
|
|
2
2
|
require "chef/util/editor"
|
3
3
|
|
4
4
|
describe Chef::Util::Editor do
|
5
|
-
describe
|
5
|
+
describe "#initialize" do
|
6
6
|
it "takes an Enumerable of lines" do
|
7
7
|
editor = described_class.new(File.open(__FILE__))
|
8
8
|
expect(editor.lines).to be == IO.readlines(__FILE__)
|
@@ -18,7 +18,7 @@ describe Chef::Util::Editor do
|
|
18
18
|
subject(:editor) { described_class.new(input_lines) }
|
19
19
|
let(:input_lines) { %w{one two two three} }
|
20
20
|
|
21
|
-
describe
|
21
|
+
describe "#append_line_after" do
|
22
22
|
context "when there is no match" do
|
23
23
|
subject(:execute) { editor.append_line_after("missing", "new") }
|
24
24
|
|
@@ -44,7 +44,7 @@ describe Chef::Util::Editor do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe
|
47
|
+
describe "#append_line_if_missing" do
|
48
48
|
context "when there is no match" do
|
49
49
|
subject(:execute) { editor.append_line_if_missing("missing", "new") }
|
50
50
|
|
@@ -70,7 +70,7 @@ describe Chef::Util::Editor do
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
-
describe
|
73
|
+
describe "#remove_lines" do
|
74
74
|
context "when there is no match" do
|
75
75
|
subject(:execute) { editor.remove_lines("missing") }
|
76
76
|
|
@@ -96,7 +96,7 @@ describe Chef::Util::Editor do
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
-
describe
|
99
|
+
describe "#replace" do
|
100
100
|
context "when there is no match" do
|
101
101
|
subject(:execute) { editor.replace("missing", "new") }
|
102
102
|
|
@@ -123,7 +123,7 @@ describe Chef::Util::Editor do
|
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
|
-
describe
|
126
|
+
describe "#replace_lines" do
|
127
127
|
context "when there is no match" do
|
128
128
|
subject(:execute) { editor.replace_lines("missing", "new") }
|
129
129
|
|
@@ -25,7 +25,7 @@ describe Chef::Util::Powershell::Cmdlet do
|
|
25
25
|
@cmdlet = Chef::Util::Powershell::Cmdlet.new(@node, "Some-Commandlet")
|
26
26
|
end
|
27
27
|
|
28
|
-
describe
|
28
|
+
describe "#validate_switch_name!" do
|
29
29
|
it "should not raise an error if a name contains all upper case letters" do
|
30
30
|
@cmdlet.send(:validate_switch_name!, "HELLO")
|
31
31
|
end
|
@@ -40,14 +40,14 @@ describe Chef::Util::Powershell::Cmdlet do
|
|
40
40
|
|
41
41
|
%w{! @ # $ % ^ & * & * ( ) - = + \{ \} . ? < > \\ /}.each do |sym|
|
42
42
|
it "raises an Argument error if it configuration name contains #{sym}" do
|
43
|
-
expect
|
43
|
+
expect do
|
44
44
|
@cmdlet.send(:validate_switch_name!, "Hello#{sym}")
|
45
|
-
|
45
|
+
end.to raise_error(ArgumentError)
|
46
46
|
end
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
describe
|
50
|
+
describe "#escape_parameter_value" do
|
51
51
|
# Is this list really complete?
|
52
52
|
%w{` " # '}.each do |c|
|
53
53
|
it "escapse #{c}" do
|
@@ -60,23 +60,23 @@ describe Chef::Util::Powershell::Cmdlet do
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
-
describe
|
63
|
+
describe "#escape_string_parameter_value" do
|
64
64
|
it "surrounds a string with ''" do
|
65
65
|
expect(@cmdlet.send(:escape_string_parameter_value, "stuff")).to eql("'stuff'")
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
describe
|
69
|
+
describe "#command_switches_string" do
|
70
70
|
it "raises an ArgumentError if the key is not a symbol" do
|
71
|
-
expect
|
71
|
+
expect do
|
72
72
|
@cmdlet.send(:command_switches_string, { "foo" => "bar" })
|
73
|
-
|
73
|
+
end.to raise_error(ArgumentError)
|
74
74
|
end
|
75
75
|
|
76
76
|
it "does not allow invalid switch names" do
|
77
|
-
expect
|
77
|
+
expect do
|
78
78
|
@cmdlet.send(:command_switches_string, { :foo! => "bar" })
|
79
|
-
|
79
|
+
end.to raise_error(ArgumentError)
|
80
80
|
end
|
81
81
|
|
82
82
|
it "ignores switches with a false value" do
|
data/tasks/bin/bundle-platform
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
# This is a temporary monkey patch to address https://github.com/bundler/bundler/issues/4896
|
2
|
+
# the heart of the fix is line #18 with the addition of:
|
3
|
+
# && (possibility.activated - existing_node.payload.activated).empty?
|
4
|
+
# This ensures we do not mis linux platform gems in some scenarios like ffi in kitchen-test.
|
5
|
+
# There is a permanent fix to bundler (See https://github.com/bundler/bundler/pull/4836) which
|
6
|
+
# is due to ship in v1.14. Once we adopt that version, we can remove this file
|
7
|
+
|
8
|
+
require "bundler"
|
9
|
+
require "bundler/vendor/molinillo/lib/molinillo/resolution"
|
10
|
+
|
11
|
+
module Bundler::Molinillo
|
12
|
+
class Resolver
|
13
|
+
# A specific resolution from a given {Resolver}
|
14
|
+
class Resolution
|
15
|
+
def attempt_to_activate
|
16
|
+
debug(depth) { "Attempting to activate " + possibility.to_s }
|
17
|
+
existing_node = activated.vertex_named(name)
|
18
|
+
if existing_node.payload && (possibility.activated - existing_node.payload.activated).empty?
|
19
|
+
debug(depth) { "Found existing spec (#{existing_node.payload})" }
|
20
|
+
attempt_to_activate_existing_spec(existing_node)
|
21
|
+
else
|
22
|
+
attempt_to_activate_new_spec
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/tasks/cbgb.rb
CHANGED
@@ -44,9 +44,9 @@ begin
|
|
44
44
|
out << cbgb(cbgb["corporations"], cbgb["Org"]["Corporate-Contributors"]["governers"]) + "\n\n"
|
45
45
|
out << "### " + cbgb["Org"]["Lieutenants"]["title"] + "\n\n"
|
46
46
|
out << cbgb(cbgb["people"], cbgb["Org"]["Lieutenants"]["governers"]) + "\n\n"
|
47
|
-
File.open(CBGB_TARGET, "w")
|
47
|
+
File.open(CBGB_TARGET, "w") do |fn|
|
48
48
|
fn.write out
|
49
|
-
|
49
|
+
end
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
data/tasks/maintainers.rb
CHANGED
@@ -46,9 +46,9 @@ begin
|
|
46
46
|
out << format_person(source["Org"]["Lead"]["person"]) + "\n\n"
|
47
47
|
|
48
48
|
out << format_components(source["Org"]["Components"])
|
49
|
-
File.open(TARGET, "w")
|
49
|
+
File.open(TARGET, "w") do |fn|
|
50
50
|
fn.write out
|
51
|
-
|
51
|
+
end
|
52
52
|
end
|
53
53
|
|
54
54
|
desc "Synchronize GitHub teams"
|
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: 12.
|
4
|
+
version: 12.14.60
|
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: 2016-
|
11
|
+
date: 2016-09-09 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: 12.
|
19
|
+
version: 12.14.60
|
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: 12.
|
26
|
+
version: 12.14.60
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mixlib-cli
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,14 +240,14 @@ dependencies:
|
|
240
240
|
name: chef-zero
|
241
241
|
requirement: !ruby/object:Gem::Requirement
|
242
242
|
requirements:
|
243
|
-
- - "
|
243
|
+
- - ">="
|
244
244
|
- !ruby/object:Gem::Version
|
245
245
|
version: '4.8'
|
246
246
|
type: :runtime
|
247
247
|
prerelease: false
|
248
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
|
-
- - "
|
250
|
+
- - ">="
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: '4.8'
|
253
253
|
- !ruby/object:Gem::Dependency
|
@@ -278,6 +278,20 @@ dependencies:
|
|
278
278
|
- - "~>"
|
279
279
|
- !ruby/object:Gem::Version
|
280
280
|
version: '1.4'
|
281
|
+
- !ruby/object:Gem::Dependency
|
282
|
+
name: addressable
|
283
|
+
requirement: !ruby/object:Gem::Requirement
|
284
|
+
requirements:
|
285
|
+
- - ">="
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: '0'
|
288
|
+
type: :runtime
|
289
|
+
prerelease: false
|
290
|
+
version_requirements: !ruby/object:Gem::Requirement
|
291
|
+
requirements:
|
292
|
+
- - ">="
|
293
|
+
- !ruby/object:Gem::Version
|
294
|
+
version: '0'
|
281
295
|
- !ruby/object:Gem::Dependency
|
282
296
|
name: rspec-core
|
283
297
|
requirement: !ruby/object:Gem::Requirement
|
@@ -613,6 +627,7 @@ files:
|
|
613
627
|
- acceptance/basics/.kitchen.yml
|
614
628
|
- acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb
|
615
629
|
- acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb
|
630
|
+
- acceptance/basics/test/integration/helpers/serverspec/Gemfile
|
616
631
|
- acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore
|
617
632
|
- acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb
|
618
633
|
- acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb
|
@@ -632,6 +647,7 @@ files:
|
|
632
647
|
- acceptance/data-collector/.kitchen.yml
|
633
648
|
- acceptance/data-collector/Berksfile
|
634
649
|
- acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
|
650
|
+
- acceptance/data-collector/test/integration/helpers/serverspec/Gemfile
|
635
651
|
- acceptance/fips/.acceptance/acceptance-cookbook/.gitignore
|
636
652
|
- acceptance/fips/.acceptance/acceptance-cookbook/metadata.rb
|
637
653
|
- acceptance/fips/.acceptance/acceptance-cookbook/recipes/destroy.rb
|
@@ -1465,6 +1481,7 @@ files:
|
|
1465
1481
|
- lib/chef/provider/service/upstart.rb
|
1466
1482
|
- lib/chef/provider/service/windows.rb
|
1467
1483
|
- lib/chef/provider/subversion.rb
|
1484
|
+
- lib/chef/provider/support/yum_repo.erb
|
1468
1485
|
- lib/chef/provider/systemd_unit.rb
|
1469
1486
|
- lib/chef/provider/template.rb
|
1470
1487
|
- lib/chef/provider/template/content.rb
|
@@ -1472,12 +1489,14 @@ files:
|
|
1472
1489
|
- lib/chef/provider/user.rb
|
1473
1490
|
- lib/chef/provider/user/aix.rb
|
1474
1491
|
- lib/chef/provider/user/dscl.rb
|
1492
|
+
- lib/chef/provider/user/linux.rb
|
1475
1493
|
- lib/chef/provider/user/pw.rb
|
1476
1494
|
- lib/chef/provider/user/solaris.rb
|
1477
1495
|
- lib/chef/provider/user/useradd.rb
|
1478
1496
|
- lib/chef/provider/user/windows.rb
|
1479
1497
|
- lib/chef/provider/whyrun_safe_ruby_block.rb
|
1480
1498
|
- lib/chef/provider/windows_script.rb
|
1499
|
+
- lib/chef/provider/yum_repository.rb
|
1481
1500
|
- lib/chef/provider_resolver.rb
|
1482
1501
|
- lib/chef/providers.rb
|
1483
1502
|
- lib/chef/recipe.rb
|
@@ -1557,11 +1576,18 @@ files:
|
|
1557
1576
|
- lib/chef/resource/template.rb
|
1558
1577
|
- lib/chef/resource/timestamped_deploy.rb
|
1559
1578
|
- lib/chef/resource/user.rb
|
1579
|
+
- lib/chef/resource/user/aix_user.rb
|
1580
|
+
- lib/chef/resource/user/dscl_user.rb
|
1581
|
+
- lib/chef/resource/user/linux_user.rb
|
1582
|
+
- lib/chef/resource/user/pw_user.rb
|
1583
|
+
- lib/chef/resource/user/solaris_user.rb
|
1584
|
+
- lib/chef/resource/user/windows_user.rb
|
1560
1585
|
- lib/chef/resource/whyrun_safe_ruby_block.rb
|
1561
1586
|
- lib/chef/resource/windows_package.rb
|
1562
1587
|
- lib/chef/resource/windows_script.rb
|
1563
1588
|
- lib/chef/resource/windows_service.rb
|
1564
1589
|
- lib/chef/resource/yum_package.rb
|
1590
|
+
- lib/chef/resource/yum_repository.rb
|
1565
1591
|
- lib/chef/resource/zypper_package.rb
|
1566
1592
|
- lib/chef/resource_builder.rb
|
1567
1593
|
- lib/chef/resource_collection.rb
|
@@ -2541,12 +2567,13 @@ files:
|
|
2541
2567
|
- spec/unit/provider/template/content_spec.rb
|
2542
2568
|
- spec/unit/provider/template_spec.rb
|
2543
2569
|
- spec/unit/provider/user/dscl_spec.rb
|
2570
|
+
- spec/unit/provider/user/linux_spec.rb
|
2544
2571
|
- spec/unit/provider/user/pw_spec.rb
|
2545
2572
|
- spec/unit/provider/user/solaris_spec.rb
|
2546
|
-
- spec/unit/provider/user/useradd_spec.rb
|
2547
2573
|
- spec/unit/provider/user/windows_spec.rb
|
2548
2574
|
- spec/unit/provider/user_spec.rb
|
2549
2575
|
- spec/unit/provider/whyrun_safe_ruby_block_spec.rb
|
2576
|
+
- spec/unit/provider/yum_repository_spec.rb
|
2550
2577
|
- spec/unit/provider_resolver_spec.rb
|
2551
2578
|
- spec/unit/provider_spec.rb
|
2552
2579
|
- spec/unit/pure_application_spec.rb
|
@@ -2621,6 +2648,7 @@ files:
|
|
2621
2648
|
- spec/unit/resource/windows_package_spec.rb
|
2622
2649
|
- spec/unit/resource/windows_service_spec.rb
|
2623
2650
|
- spec/unit/resource/yum_package_spec.rb
|
2651
|
+
- spec/unit/resource/yum_repository_spec.rb
|
2624
2652
|
- spec/unit/resource_builder_spec.rb
|
2625
2653
|
- spec/unit/resource_collection/resource_list_spec.rb
|
2626
2654
|
- spec/unit/resource_collection/resource_set_spec.rb
|
@@ -2672,6 +2700,7 @@ files:
|
|
2672
2700
|
- spec/unit/windows_service_spec.rb
|
2673
2701
|
- tasks/bin/bundle-platform
|
2674
2702
|
- tasks/bin/bundle-platform.bat
|
2703
|
+
- tasks/bin/bundler_patch.rb
|
2675
2704
|
- tasks/bin/create-override-gemfile
|
2676
2705
|
- tasks/bin/gem-version-diff
|
2677
2706
|
- tasks/bin/run_external_test
|
@@ -2696,7 +2725,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2696
2725
|
requirements:
|
2697
2726
|
- - ">="
|
2698
2727
|
- !ruby/object:Gem::Version
|
2699
|
-
version: 2.
|
2728
|
+
version: 2.2.0
|
2700
2729
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2701
2730
|
requirements:
|
2702
2731
|
- - ">="
|