chef 13.5.3-universal-mingw32 → 13.6.0-universal-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/acceptance/.bundle/config +2 -0
- data/bin/chef-shell +2 -0
- data/distro/powershell/chef/chef.psm1 +23 -2
- data/lib/chef/.DS_Store +0 -0
- data/lib/chef/application/client.rb +1 -1
- data/lib/chef/chef_fs/config.rb +1 -1
- data/lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb +5 -0
- data/lib/chef/client.rb +3 -0
- data/lib/chef/cookbook/synchronizer.rb +2 -4
- data/lib/chef/data_bag.rb +4 -0
- data/lib/chef/deprecated.rb +10 -0
- data/lib/chef/knife/client_delete.rb +1 -1
- data/lib/chef/knife/node_delete.rb +1 -1
- data/lib/chef/knife/node_run_list_add.rb +1 -1
- data/lib/chef/knife/node_run_list_remove.rb +1 -1
- data/lib/chef/knife/role_env_run_list_add.rb +1 -1
- data/lib/chef/knife/role_run_list_add.rb +1 -1
- data/lib/chef/mixin/.DS_Store +0 -0
- data/lib/chef/mixin/user_context.rb +1 -1
- data/lib/chef/platform/rebooter.rb +7 -3
- data/lib/chef/provider/dsc_script.rb +5 -1
- data/lib/chef/provider/package.rb +35 -4
- data/lib/chef/provider/package/apt.rb +7 -0
- data/lib/chef/provider/package/chocolatey.rb +24 -8
- data/lib/chef/provider/package/dnf.rb +14 -5
- data/lib/chef/provider/package/dnf/dnf_helper.py +10 -0
- data/lib/chef/provider/package/dnf/python_helper.rb +15 -0
- data/lib/chef/provider/package/rpm.rb +5 -0
- data/lib/chef/provider/package/windows.rb +15 -0
- data/lib/chef/provider/package/yum.rb +4 -20
- data/lib/chef/provider/package/zypper.rb +5 -1
- data/lib/chef/provider/route.rb +1 -1
- data/lib/chef/provider/windows_task.rb +19 -4
- data/lib/chef/provider/zypper_repository.rb +100 -12
- data/lib/chef/resource/deploy.rb +6 -0
- data/lib/chef/resource/dnf_package.rb +9 -2
- data/lib/chef/resource/windows_task.rb +12 -7
- data/lib/chef/resource/zypper_package.rb +1 -0
- data/lib/chef/resource/zypper_repository.rb +1 -0
- data/lib/chef/util/dsc/lcm_output_parser.rb +57 -2
- data/lib/chef/util/dsc/local_configuration_manager.rb +16 -16
- data/lib/chef/version.rb +1 -1
- data/spec/.DS_Store +0 -0
- data/spec/functional/rebooter_spec.rb +22 -11
- data/spec/functional/resource/windows_task_spec.rb +25 -0
- data/spec/unit/.DS_Store +0 -0
- data/spec/unit/chef_fs/data_handler/data_bag_item_data_handler.rb +79 -0
- data/spec/unit/client_spec.rb +11 -0
- data/spec/unit/cookbook/synchronizer_spec.rb +30 -0
- data/spec/unit/knife/data_bag_create_spec.rb +8 -0
- data/spec/unit/mixin/user_context_spec.rb +1 -2
- data/spec/unit/provider/package/chocolatey_spec.rb +3 -1
- data/spec/unit/provider/package/rubygems_spec.rb +5 -0
- data/spec/unit/provider/package/zypper_spec.rb +8 -0
- data/spec/unit/provider/remote_file/network_file_spec.rb +1 -1
- data/spec/unit/provider/route_spec.rb +2 -0
- data/spec/unit/provider/windows_task_spec.rb +28 -0
- data/spec/unit/provider/zypper_repository_spec.rb +124 -0
- data/spec/unit/provider_resolver_spec.rb +4 -1
- data/spec/unit/resource/windows_task_spec.rb +8 -2
- data/spec/unit/resource/zypper_repository_spec.rb +11 -9
- data/spec/unit/util/dsc/lcm_output_parser_spec.rb +102 -18
- data/spec/unit/util/dsc/local_configuration_manager_spec.rb +2 -1
- metadata +8 -4
@@ -57,6 +57,7 @@ EOH
|
|
57
57
|
context "when interacting with the LCM using a PowerShell cmdlet" do
|
58
58
|
before(:each) do
|
59
59
|
allow(lcm).to receive(:run_configuration_cmdlet).and_return(lcm_status)
|
60
|
+
allow(lcm).to receive(:ps_version_gte_5?).and_return(false)
|
60
61
|
end
|
61
62
|
context "that returns successfully" do
|
62
63
|
let(:lcm_standard_output) { normal_lcm_output }
|
@@ -103,7 +104,7 @@ EOH
|
|
103
104
|
let(:common_command_prefix) { "$ProgressPreference = 'SilentlyContinue';" }
|
104
105
|
let(:ps4_base_command) { "#{common_command_prefix} Start-DscConfiguration -path tmp -wait -erroraction 'stop' -force" }
|
105
106
|
let(:lcm_command_ps4) { ps4_base_command + " -whatif; if (! $?) { exit 1 }" }
|
106
|
-
let(:lcm_command_ps5) { "#{common_command_prefix} Test-DscConfiguration -path tmp" }
|
107
|
+
let(:lcm_command_ps5) { "#{common_command_prefix} Test-DscConfiguration -path tmp | format-list" }
|
107
108
|
let(:lcm_standard_output) { normal_lcm_output }
|
108
109
|
let(:lcm_standard_error) { nil }
|
109
110
|
let(:lcm_cmdlet_success) { true }
|
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.
|
4
|
+
version: 13.6.0
|
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-10-
|
11
|
+
date: 2017-10-30 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.
|
19
|
+
version: 13.6.0
|
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.
|
26
|
+
version: 13.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mixlib-cli
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -625,6 +625,7 @@ files:
|
|
625
625
|
- Rakefile
|
626
626
|
- VERSION
|
627
627
|
- acceptance/.DS_Store
|
628
|
+
- acceptance/.bundle/config
|
628
629
|
- acceptance/.gitignore
|
629
630
|
- acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml
|
630
631
|
- acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml
|
@@ -1281,6 +1282,7 @@ files:
|
|
1281
1282
|
- lib/chef/log/syslog.rb
|
1282
1283
|
- lib/chef/log/winevt.rb
|
1283
1284
|
- lib/chef/mash.rb
|
1285
|
+
- lib/chef/mixin/.DS_Store
|
1284
1286
|
- lib/chef/mixin/api_version_request_handling.rb
|
1285
1287
|
- lib/chef/mixin/checksum.rb
|
1286
1288
|
- lib/chef/mixin/convert_to_class_name.rb
|
@@ -2288,6 +2290,7 @@ files:
|
|
2288
2290
|
- spec/unit/audit/runner_spec.rb
|
2289
2291
|
- spec/unit/chef_class_spec.rb
|
2290
2292
|
- spec/unit/chef_fs/config_spec.rb
|
2293
|
+
- spec/unit/chef_fs/data_handler/data_bag_item_data_handler.rb
|
2291
2294
|
- spec/unit/chef_fs/data_handler/group_handler_spec.rb
|
2292
2295
|
- spec/unit/chef_fs/diff_spec.rb
|
2293
2296
|
- spec/unit/chef_fs/file_pattern_spec.rb
|
@@ -2649,6 +2652,7 @@ files:
|
|
2649
2652
|
- spec/unit/provider/windows_path_spec.rb
|
2650
2653
|
- spec/unit/provider/windows_task_spec.rb
|
2651
2654
|
- spec/unit/provider/yum_repository_spec.rb
|
2655
|
+
- spec/unit/provider/zypper_repository_spec.rb
|
2652
2656
|
- spec/unit/provider_resolver_spec.rb
|
2653
2657
|
- spec/unit/provider_spec.rb
|
2654
2658
|
- spec/unit/pure_application_spec.rb
|