chef 18.2.7-x64-mingw-ucrt → 18.4.2-x64-mingw-ucrt
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/Gemfile +2 -2
- data/chef-universal-mingw-ucrt.gemspec +1 -1
- data/chef.gemspec +3 -3
- data/lib/chef/application/base.rb +2 -0
- data/lib/chef/chef_fs/file_pattern.rb +1 -1
- data/lib/chef/chef_fs/path_utils.rb +7 -9
- data/lib/chef/client.rb +2 -2
- data/lib/chef/cookbook/synchronizer.rb +19 -2
- data/lib/chef/cookbook_version.rb +1 -1
- data/lib/chef/delayed_evaluator.rb +4 -0
- data/lib/chef/file_access_control/windows.rb +4 -1
- data/lib/chef/guard_interpreter/resource_guard_interpreter.rb +2 -0
- data/lib/chef/http/ssl_policies.rb +2 -2
- data/lib/chef/mixin/homebrew_user.rb +15 -5
- data/lib/chef/monkey_patches/net-http.rb +127 -0
- data/lib/chef/node/attribute_collections.rb +10 -1
- data/lib/chef/node/immutable_collections.rb +7 -3
- data/lib/chef/node/mixin/state_tracking.rb +1 -1
- data/lib/chef/node/mixin/state_tracking_array.rb +41 -0
- data/lib/chef/node.rb +22 -0
- data/lib/chef/provider/launchd.rb +1 -1
- data/lib/chef/provider/mount/linux.rb +1 -1
- data/lib/chef/provider/mount/mount.rb +5 -5
- data/lib/chef/provider/package/apt.rb +11 -2
- data/lib/chef/provider/package/chocolatey.rb +239 -18
- data/lib/chef/provider/package/zypper.rb +6 -0
- data/lib/chef/provider/powershell_script.rb +96 -6
- data/lib/chef/provider/remote_file/http.rb +1 -1
- data/lib/chef/provider/service/systemd.rb +23 -8
- data/lib/chef/provider/service/windows.rb +1 -0
- data/lib/chef/provider/service.rb +14 -0
- data/lib/chef/provider/user.rb +5 -1
- data/lib/chef/provider/yum_repository.rb +1 -1
- data/lib/chef/recipe.rb +3 -11
- data/lib/chef/resource/_rest_resource.rb +1 -1
- data/lib/chef/resource/apt_package.rb +19 -0
- data/lib/chef/resource/apt_repository.rb +26 -6
- data/lib/chef/resource/chef_client_systemd_timer.rb +1 -1
- data/lib/chef/resource/chocolatey_installer.rb +207 -0
- data/lib/chef/resource/chocolatey_package.rb +8 -0
- data/lib/chef/resource/homebrew_cask.rb +6 -7
- data/lib/chef/resource/homebrew_package.rb +1 -1
- data/lib/chef/resource/homebrew_tap.rb +5 -5
- data/lib/chef/resource/launchd.rb +5 -1
- data/lib/chef/resource/locale.rb +5 -2
- data/lib/chef/resource/macos_pkg.rb +111 -0
- data/lib/chef/resource/powershell_script.rb +5 -1
- data/lib/chef/resource/service.rb +3 -0
- data/lib/chef/resource/sudo.rb +37 -2
- data/lib/chef/resource/support/ulimit.erb +40 -0
- data/lib/chef/resource/user_ulimit.rb +38 -0
- data/lib/chef/resource/windows_certificate.rb +1 -1
- data/lib/chef/resource/windows_security_policy.rb +2 -2
- data/lib/chef/resource.rb +11 -1
- data/lib/chef/resources.rb +2 -0
- data/lib/chef/version.rb +1 -1
- data/lib/chef/win32/security.rb +7 -1
- data/spec/data/trusted_certs/example.crt +29 -20
- data/spec/data/trusted_certs/example_no_cn.crt +30 -34
- data/spec/functional/resource/chocolatey_package_spec.rb +32 -20
- data/spec/functional/resource/execute_spec.rb +1 -1
- data/spec/functional/resource/windows_certificate_spec.rb +25 -0
- data/spec/functional/resource/zypper_package_spec.rb +10 -0
- data/spec/unit/client_spec.rb +2 -2
- data/spec/unit/compliance/reporter/chef_server_automate_spec.rb +1 -1
- data/spec/unit/delayed_evaluator_spec.rb +35 -0
- data/spec/unit/mixin/homebrew_user_spec.rb +30 -7
- data/spec/unit/node/vivid_mash_spec.rb +42 -0
- data/spec/unit/node_spec.rb +6 -0
- data/spec/unit/provider/apt_repository_spec.rb +17 -7
- data/spec/unit/provider/launchd_spec.rb +2 -2
- data/spec/unit/provider/mount/aix_spec.rb +2 -2
- data/spec/unit/provider/mount/linux_spec.rb +6 -5
- data/spec/unit/provider/mount/mount_spec.rb +8 -8
- data/spec/unit/provider/package/apt_spec.rb +18 -13
- data/spec/unit/provider/package/chocolatey_spec.rb +53 -9
- data/spec/unit/provider/package/rpm_spec.rb +2 -2
- data/spec/unit/provider/package/zypper_spec.rb +10 -0
- data/spec/unit/provider/powershell_script_spec.rb +100 -4
- data/spec/unit/provider/remote_file/http_spec.rb +4 -4
- data/spec/unit/provider/service/systemd_service_spec.rb +1 -0
- data/spec/unit/provider/user/linux_spec.rb +10 -0
- data/spec/unit/resource/apt_repository_spec.rb +5 -0
- data/spec/unit/resource/chef_client_systemd_timer_spec.rb +1 -1
- data/spec/unit/resource/chocolatey_installer_spec.rb +151 -0
- data/spec/unit/resource/macos_pkg_spec.rb +38 -0
- data/spec/unit/resource/powershell_script_spec.rb +2 -2
- data/spec/unit/resource_spec.rb +86 -0
- metadata +29 -16
- /data/spec/functional/assets/chocolatey_feed/{test-A.1.0.nupkg → test-A.1.0.0.nupkg} +0 -0
- /data/spec/functional/assets/chocolatey_feed/{test-A.1.5.nupkg → test-A.1.5.0.nupkg} +0 -0
- /data/spec/functional/assets/chocolatey_feed/{test-A.2.0.nupkg → test-A.2.0.0.nupkg} +0 -0
- /data/spec/functional/assets/chocolatey_feed/{test-B.1.0.nupkg → test-B.1.0.0.nupkg} +0 -0
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: 18.2
|
4
|
+
version: 18.4.2
|
5
5
|
platform: x64-mingw-ucrt
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-config
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 18.2
|
19
|
+
version: 18.4.2
|
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: 18.2
|
26
|
+
version: 18.4.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: chef-utils
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 18.2
|
33
|
+
version: 18.4.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 18.2
|
40
|
+
version: 18.4.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: train-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -221,6 +221,9 @@ dependencies:
|
|
221
221
|
- - ">="
|
222
222
|
- !ruby/object:Gem::Version
|
223
223
|
version: '5'
|
224
|
+
- - "<"
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '6'
|
224
227
|
type: :runtime
|
225
228
|
prerelease: false
|
226
229
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -228,18 +231,21 @@ dependencies:
|
|
228
231
|
- - ">="
|
229
232
|
- !ruby/object:Gem::Version
|
230
233
|
version: '5'
|
234
|
+
- - "<"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '6'
|
231
237
|
- !ruby/object:Gem::Dependency
|
232
238
|
name: ffi
|
233
239
|
requirement: !ruby/object:Gem::Requirement
|
234
240
|
requirements:
|
235
|
-
- - "
|
241
|
+
- - "~>"
|
236
242
|
- !ruby/object:Gem::Version
|
237
243
|
version: 1.15.5
|
238
244
|
type: :runtime
|
239
245
|
prerelease: false
|
240
246
|
version_requirements: !ruby/object:Gem::Requirement
|
241
247
|
requirements:
|
242
|
-
- - "
|
248
|
+
- - "~>"
|
243
249
|
- !ruby/object:Gem::Version
|
244
250
|
version: 1.15.5
|
245
251
|
- !ruby/object:Gem::Dependency
|
@@ -458,14 +464,14 @@ dependencies:
|
|
458
464
|
name: unf_ext
|
459
465
|
requirement: !ruby/object:Gem::Requirement
|
460
466
|
requirements:
|
461
|
-
- - "
|
467
|
+
- - "~>"
|
462
468
|
- !ruby/object:Gem::Version
|
463
469
|
version: 0.0.8.2
|
464
470
|
type: :runtime
|
465
471
|
prerelease: false
|
466
472
|
version_requirements: !ruby/object:Gem::Requirement
|
467
473
|
requirements:
|
468
|
-
- - "
|
474
|
+
- - "~>"
|
469
475
|
- !ruby/object:Gem::Version
|
470
476
|
version: 0.0.8.2
|
471
477
|
- !ruby/object:Gem::Dependency
|
@@ -710,14 +716,14 @@ dependencies:
|
|
710
716
|
requirements:
|
711
717
|
- - "~>"
|
712
718
|
- !ruby/object:Gem::Version
|
713
|
-
version: 18.
|
719
|
+
version: 18.1.0
|
714
720
|
type: :runtime
|
715
721
|
prerelease: false
|
716
722
|
version_requirements: !ruby/object:Gem::Requirement
|
717
723
|
requirements:
|
718
724
|
- - "~>"
|
719
725
|
- !ruby/object:Gem::Version
|
720
|
-
version: 18.
|
726
|
+
version: 18.1.0
|
721
727
|
description: A systems integration framework, built to bring the benefits of configuration
|
722
728
|
management to your entire infrastructure.
|
723
729
|
email: adam@chef.io
|
@@ -1650,6 +1656,7 @@ files:
|
|
1650
1656
|
- lib/chef/mixin/windows_env_helper.rb
|
1651
1657
|
- lib/chef/mixin/xml_escape.rb
|
1652
1658
|
- lib/chef/mixins.rb
|
1659
|
+
- lib/chef/monkey_patches/net-http.rb
|
1653
1660
|
- lib/chef/monkey_patches/webrick-utils.rb
|
1654
1661
|
- lib/chef/monkey_patches/win32/registry.rb
|
1655
1662
|
- lib/chef/monologger.rb
|
@@ -1663,6 +1670,7 @@ files:
|
|
1663
1670
|
- lib/chef/node/mixin/immutablize_hash.rb
|
1664
1671
|
- lib/chef/node/mixin/mashy_array.rb
|
1665
1672
|
- lib/chef/node/mixin/state_tracking.rb
|
1673
|
+
- lib/chef/node/mixin/state_tracking_array.rb
|
1666
1674
|
- lib/chef/node_map.rb
|
1667
1675
|
- lib/chef/null_logger.rb
|
1668
1676
|
- lib/chef/org.rb
|
@@ -1848,6 +1856,7 @@ files:
|
|
1848
1856
|
- lib/chef/resource/chef_vault_secret.rb
|
1849
1857
|
- lib/chef/resource/chocolatey_config.rb
|
1850
1858
|
- lib/chef/resource/chocolatey_feature.rb
|
1859
|
+
- lib/chef/resource/chocolatey_installer.rb
|
1851
1860
|
- lib/chef/resource/chocolatey_package.rb
|
1852
1861
|
- lib/chef/resource/chocolatey_source.rb
|
1853
1862
|
- lib/chef/resource/conditional.rb
|
@@ -1901,6 +1910,7 @@ files:
|
|
1901
1910
|
- lib/chef/resource/locale.rb
|
1902
1911
|
- lib/chef/resource/log.rb
|
1903
1912
|
- lib/chef/resource/lwrp_base.rb
|
1913
|
+
- lib/chef/resource/macos_pkg.rb
|
1904
1914
|
- lib/chef/resource/macos_userdefaults.rb
|
1905
1915
|
- lib/chef/resource/macosx_service.rb
|
1906
1916
|
- lib/chef/resource/macports_package.rb
|
@@ -2506,10 +2516,10 @@ files:
|
|
2506
2516
|
- spec/functional/assets/PkgA.1.0.0.0.bff
|
2507
2517
|
- spec/functional/assets/PkgA.2.0.0.0.bff
|
2508
2518
|
- spec/functional/assets/chefinittest
|
2509
|
-
- spec/functional/assets/chocolatey_feed/test-A.1.0.nupkg
|
2510
|
-
- spec/functional/assets/chocolatey_feed/test-A.1.5.nupkg
|
2511
|
-
- spec/functional/assets/chocolatey_feed/test-A.2.0.nupkg
|
2512
|
-
- spec/functional/assets/chocolatey_feed/test-B.1.0.nupkg
|
2519
|
+
- spec/functional/assets/chocolatey_feed/test-A.1.0.0.nupkg
|
2520
|
+
- spec/functional/assets/chocolatey_feed/test-A.1.5.0.nupkg
|
2521
|
+
- spec/functional/assets/chocolatey_feed/test-A.2.0.0.nupkg
|
2522
|
+
- spec/functional/assets/chocolatey_feed/test-B.1.0.0.nupkg
|
2513
2523
|
- spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
|
2514
2524
|
- spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
|
2515
2525
|
- spec/functional/assets/inittest
|
@@ -2780,6 +2790,7 @@ files:
|
|
2780
2790
|
- spec/unit/decorator/lazy_array_spec.rb
|
2781
2791
|
- spec/unit/decorator/lazy_spec.rb
|
2782
2792
|
- spec/unit/decorator_spec.rb
|
2793
|
+
- spec/unit/delayed_evaluator_spec.rb
|
2783
2794
|
- spec/unit/deprecated_spec.rb
|
2784
2795
|
- spec/unit/deprecation_spec.rb
|
2785
2796
|
- spec/unit/digester_spec.rb
|
@@ -3025,6 +3036,7 @@ files:
|
|
3025
3036
|
- spec/unit/resource/chef_vault_secret_spec.rb
|
3026
3037
|
- spec/unit/resource/chocolatey_config_spec.rb
|
3027
3038
|
- spec/unit/resource/chocolatey_feature_spec.rb
|
3039
|
+
- spec/unit/resource/chocolatey_installer_spec.rb
|
3028
3040
|
- spec/unit/resource/chocolatey_package_spec.rb
|
3029
3041
|
- spec/unit/resource/chocolatey_source_spec.rb
|
3030
3042
|
- spec/unit/resource/conditional_action_not_nothing_spec.rb
|
@@ -3067,6 +3079,7 @@ files:
|
|
3067
3079
|
- spec/unit/resource/link_spec.rb
|
3068
3080
|
- spec/unit/resource/locale_spec.rb
|
3069
3081
|
- spec/unit/resource/log_spec.rb
|
3082
|
+
- spec/unit/resource/macos_pkg_spec.rb
|
3070
3083
|
- spec/unit/resource/macos_user_defaults_spec.rb
|
3071
3084
|
- spec/unit/resource/macosx_service.rb
|
3072
3085
|
- spec/unit/resource/macports_package_spec.rb
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|