chef 17.2.29-universal-mingw32 → 17.3.48-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 -3
- data/chef.gemspec +1 -0
- data/lib/chef/client.rb +1 -1
- data/lib/chef/data_bag.rb +1 -2
- data/lib/chef/data_bag_item.rb +1 -2
- data/lib/chef/deprecated.rb +10 -4
- data/lib/chef/dsl.rb +1 -0
- data/lib/chef/dsl/render_helpers.rb +44 -0
- data/lib/chef/dsl/secret.rb +64 -0
- data/lib/chef/dsl/toml.rb +116 -0
- data/lib/chef/dsl/universal.rb +5 -0
- data/lib/chef/exceptions.rb +22 -0
- data/lib/chef/handler/slow_report.rb +1 -1
- data/lib/chef/json_compat.rb +1 -1
- data/lib/chef/policy_builder/policyfile.rb +88 -45
- data/lib/chef/provider/file.rb +2 -2
- data/lib/chef/provider/lwrp_base.rb +1 -1
- data/lib/chef/provider/package/habitat.rb +168 -0
- data/lib/chef/provider/package/powershell.rb +5 -0
- data/lib/chef/providers.rb +1 -0
- data/lib/chef/resource/chef_client_config.rb +7 -2
- data/lib/chef/resource/chef_client_cron.rb +1 -1
- data/lib/chef/resource/chef_client_launchd.rb +1 -1
- data/lib/chef/resource/chef_client_scheduled_task.rb +1 -1
- data/lib/chef/resource/chef_client_systemd_timer.rb +1 -1
- data/lib/chef/resource/chef_client_trusted_certificate.rb +2 -2
- data/lib/chef/resource/chef_vault_secret.rb +2 -2
- data/lib/chef/resource/dsc_resource.rb +1 -1
- data/lib/chef/resource/execute.rb +3 -3
- data/lib/chef/resource/gem_package.rb +2 -1
- data/lib/chef/resource/habitat/_habitat_shared.rb +28 -0
- data/lib/chef/resource/habitat/habitat_package.rb +129 -0
- data/lib/chef/resource/habitat/habitat_sup.rb +329 -0
- data/lib/chef/resource/habitat/habitat_sup_systemd.rb +67 -0
- data/lib/chef/resource/habitat/habitat_sup_windows.rb +90 -0
- data/lib/chef/resource/habitat_config.rb +107 -0
- data/lib/chef/resource/habitat_install.rb +247 -0
- data/lib/chef/resource/habitat_service.rb +451 -0
- data/lib/chef/resource/habitat_user_toml.rb +92 -0
- data/lib/chef/resource/lwrp_base.rb +1 -1
- data/lib/chef/resource/support/HabService.dll.config.erb +19 -0
- data/lib/chef/resource/support/client.erb +8 -1
- data/lib/chef/resource/support/sup.toml.erb +179 -0
- data/lib/chef/resource/windows_defender.rb +163 -0
- data/lib/chef/resource/windows_defender_exclusion.rb +125 -0
- data/lib/chef/resource/windows_printer.rb +78 -44
- data/lib/chef/resource/windows_printer_port.rb +1 -1
- data/lib/chef/resource/windows_update_settings.rb +259 -0
- data/lib/chef/resources.rb +12 -1
- data/lib/chef/secret_fetcher.rb +54 -0
- data/lib/chef/secret_fetcher/aws_secrets_manager.rb +53 -0
- data/lib/chef/secret_fetcher/azure_key_vault.rb +56 -0
- data/lib/chef/secret_fetcher/base.rb +72 -0
- data/lib/chef/secret_fetcher/example.rb +46 -0
- data/lib/chef/version.rb +1 -1
- data/spec/functional/mixin/from_file_spec.rb +1 -1
- data/spec/integration/recipes/recipe_dsl_spec.rb +1 -1
- data/spec/integration/recipes/resource_action_spec.rb +4 -4
- data/spec/support/shared/unit/provider/file.rb +2 -8
- data/spec/unit/data_bag_item_spec.rb +2 -2
- data/spec/unit/data_bag_spec.rb +1 -1
- data/spec/unit/dsl/render_helpers_spec.rb +102 -0
- data/spec/unit/dsl/secret_spec.rb +65 -0
- data/spec/unit/policy_builder/dynamic_spec.rb +0 -5
- data/spec/unit/policy_builder/policyfile_spec.rb +144 -56
- data/spec/unit/provider/apt_update_spec.rb +3 -1
- data/spec/unit/provider/mount/aix_spec.rb +1 -1
- data/spec/unit/provider/package/powershell_spec.rb +74 -12
- data/spec/unit/resource/windows_defender_exclusion_spec.rb +62 -0
- data/spec/unit/resource/windows_defender_spec.rb +71 -0
- data/spec/unit/resource/windows_update_settings_spec.rb +64 -0
- data/spec/unit/secret_fetcher/azure_key_vault_spec.rb +63 -0
- data/spec/unit/secret_fetcher_spec.rb +82 -0
- metadata +51 -7
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: 17.
|
4
|
+
version: 17.3.48
|
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: 2021-
|
11
|
+
date: 2021-07-21 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: 17.
|
19
|
+
version: 17.3.48
|
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: 17.
|
26
|
+
version: 17.3.48
|
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: 17.
|
33
|
+
version: 17.3.48
|
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: 17.
|
40
|
+
version: 17.3.48
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: train-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -440,6 +440,20 @@ dependencies:
|
|
440
440
|
- - "~>"
|
441
441
|
- !ruby/object:Gem::Version
|
442
442
|
version: '1.0'
|
443
|
+
- !ruby/object:Gem::Dependency
|
444
|
+
name: aws-sdk-secretsmanager
|
445
|
+
requirement: !ruby/object:Gem::Requirement
|
446
|
+
requirements:
|
447
|
+
- - "~>"
|
448
|
+
- !ruby/object:Gem::Version
|
449
|
+
version: '1.46'
|
450
|
+
type: :runtime
|
451
|
+
prerelease: false
|
452
|
+
version_requirements: !ruby/object:Gem::Requirement
|
453
|
+
requirements:
|
454
|
+
- - "~>"
|
455
|
+
- !ruby/object:Gem::Version
|
456
|
+
version: '1.46'
|
443
457
|
- !ruby/object:Gem::Dependency
|
444
458
|
name: win32-api
|
445
459
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1407,7 +1421,10 @@ files:
|
|
1407
1421
|
- lib/chef/dsl/reboot_pending.rb
|
1408
1422
|
- lib/chef/dsl/recipe.rb
|
1409
1423
|
- lib/chef/dsl/registry_helper.rb
|
1424
|
+
- lib/chef/dsl/render_helpers.rb
|
1410
1425
|
- lib/chef/dsl/resources.rb
|
1426
|
+
- lib/chef/dsl/secret.rb
|
1427
|
+
- lib/chef/dsl/toml.rb
|
1411
1428
|
- lib/chef/dsl/universal.rb
|
1412
1429
|
- lib/chef/encrypted_data_bag_item.rb
|
1413
1430
|
- lib/chef/encrypted_data_bag_item/assertions.rb
|
@@ -1613,6 +1630,7 @@ files:
|
|
1613
1630
|
- lib/chef/provider/package/freebsd/base.rb
|
1614
1631
|
- lib/chef/provider/package/freebsd/pkgng.rb
|
1615
1632
|
- lib/chef/provider/package/freebsd/port.rb
|
1633
|
+
- lib/chef/provider/package/habitat.rb
|
1616
1634
|
- lib/chef/provider/package/homebrew.rb
|
1617
1635
|
- lib/chef/provider/package/ips.rb
|
1618
1636
|
- lib/chef/provider/package/macports.rb
|
@@ -1746,6 +1764,15 @@ files:
|
|
1746
1764
|
- lib/chef/resource/freebsd_package.rb
|
1747
1765
|
- lib/chef/resource/gem_package.rb
|
1748
1766
|
- lib/chef/resource/group.rb
|
1767
|
+
- lib/chef/resource/habitat/_habitat_shared.rb
|
1768
|
+
- lib/chef/resource/habitat/habitat_package.rb
|
1769
|
+
- lib/chef/resource/habitat/habitat_sup.rb
|
1770
|
+
- lib/chef/resource/habitat/habitat_sup_systemd.rb
|
1771
|
+
- lib/chef/resource/habitat/habitat_sup_windows.rb
|
1772
|
+
- lib/chef/resource/habitat_config.rb
|
1773
|
+
- lib/chef/resource/habitat_install.rb
|
1774
|
+
- lib/chef/resource/habitat_service.rb
|
1775
|
+
- lib/chef/resource/habitat_user_toml.rb
|
1749
1776
|
- lib/chef/resource/helpers/cron_validations.rb
|
1750
1777
|
- lib/chef/resource/homebrew_cask.rb
|
1751
1778
|
- lib/chef/resource/homebrew_package.rb
|
@@ -1816,11 +1843,13 @@ files:
|
|
1816
1843
|
- lib/chef/resource/solaris_package.rb
|
1817
1844
|
- lib/chef/resource/ssh_known_hosts_entry.rb
|
1818
1845
|
- lib/chef/resource/sudo.rb
|
1846
|
+
- lib/chef/resource/support/HabService.dll.config.erb
|
1819
1847
|
- lib/chef/resource/support/client.erb
|
1820
1848
|
- lib/chef/resource/support/cron.d.erb
|
1821
1849
|
- lib/chef/resource/support/cron_access.erb
|
1822
1850
|
- lib/chef/resource/support/ssh_known_hosts.erb
|
1823
1851
|
- lib/chef/resource/support/sudoer.erb
|
1852
|
+
- lib/chef/resource/support/sup.toml.erb
|
1824
1853
|
- lib/chef/resource/support/ulimit.erb
|
1825
1854
|
- lib/chef/resource/swap_file.rb
|
1826
1855
|
- lib/chef/resource/sysctl.rb
|
@@ -1840,6 +1869,8 @@ files:
|
|
1840
1869
|
- lib/chef/resource/windows_audit_policy.rb
|
1841
1870
|
- lib/chef/resource/windows_auto_run.rb
|
1842
1871
|
- lib/chef/resource/windows_certificate.rb
|
1872
|
+
- lib/chef/resource/windows_defender.rb
|
1873
|
+
- lib/chef/resource/windows_defender_exclusion.rb
|
1843
1874
|
- lib/chef/resource/windows_dfs_folder.rb
|
1844
1875
|
- lib/chef/resource/windows_dfs_namespace.rb
|
1845
1876
|
- lib/chef/resource/windows_dfs_server.rb
|
@@ -1864,6 +1895,7 @@ files:
|
|
1864
1895
|
- lib/chef/resource/windows_shortcut.rb
|
1865
1896
|
- lib/chef/resource/windows_task.rb
|
1866
1897
|
- lib/chef/resource/windows_uac.rb
|
1898
|
+
- lib/chef/resource/windows_update_settings.rb
|
1867
1899
|
- lib/chef/resource/windows_user_privilege.rb
|
1868
1900
|
- lib/chef/resource/windows_workgroup.rb
|
1869
1901
|
- lib/chef/resource/yum_package.rb
|
@@ -1895,6 +1927,11 @@ files:
|
|
1895
1927
|
- lib/chef/sandbox.rb
|
1896
1928
|
- lib/chef/scan_access_control.rb
|
1897
1929
|
- lib/chef/search/query.rb
|
1930
|
+
- lib/chef/secret_fetcher.rb
|
1931
|
+
- lib/chef/secret_fetcher/aws_secrets_manager.rb
|
1932
|
+
- lib/chef/secret_fetcher/azure_key_vault.rb
|
1933
|
+
- lib/chef/secret_fetcher/base.rb
|
1934
|
+
- lib/chef/secret_fetcher/example.rb
|
1898
1935
|
- lib/chef/server_api.rb
|
1899
1936
|
- lib/chef/server_api_versions.rb
|
1900
1937
|
- lib/chef/shell.rb
|
@@ -2609,7 +2646,9 @@ files:
|
|
2609
2646
|
- spec/unit/dsl/reboot_pending_spec.rb
|
2610
2647
|
- spec/unit/dsl/recipe_spec.rb
|
2611
2648
|
- spec/unit/dsl/registry_helper_spec.rb
|
2649
|
+
- spec/unit/dsl/render_helpers_spec.rb
|
2612
2650
|
- spec/unit/dsl/resources_spec.rb
|
2651
|
+
- spec/unit/dsl/secret_spec.rb
|
2613
2652
|
- spec/unit/encrypted_data_bag_item/check_encrypted_spec.rb
|
2614
2653
|
- spec/unit/encrypted_data_bag_item_spec.rb
|
2615
2654
|
- spec/unit/environment_spec.rb
|
@@ -2946,6 +2985,8 @@ files:
|
|
2946
2985
|
- spec/unit/resource/windows_audit_policy_spec.rb
|
2947
2986
|
- spec/unit/resource/windows_auto_run_spec.rb
|
2948
2987
|
- spec/unit/resource/windows_certificate_spec.rb
|
2988
|
+
- spec/unit/resource/windows_defender_exclusion_spec.rb
|
2989
|
+
- spec/unit/resource/windows_defender_spec.rb
|
2949
2990
|
- spec/unit/resource/windows_dfs_folder_spec.rb
|
2950
2991
|
- spec/unit/resource/windows_dfs_namespace_spec.rb
|
2951
2992
|
- spec/unit/resource/windows_dfs_server_spec.rb
|
@@ -2968,6 +3009,7 @@ files:
|
|
2968
3009
|
- spec/unit/resource/windows_shortcut_spec.rb
|
2969
3010
|
- spec/unit/resource/windows_task_spec.rb
|
2970
3011
|
- spec/unit/resource/windows_uac_spec.rb
|
3012
|
+
- spec/unit/resource/windows_update_settings_spec.rb
|
2971
3013
|
- spec/unit/resource/windows_user_privilege_spec.rb
|
2972
3014
|
- spec/unit/resource/windows_workgroup_spec.rb
|
2973
3015
|
- spec/unit/resource/yum_package_spec.rb
|
@@ -2997,6 +3039,8 @@ files:
|
|
2997
3039
|
- spec/unit/runner_spec.rb
|
2998
3040
|
- spec/unit/scan_access_control_spec.rb
|
2999
3041
|
- spec/unit/search/query_spec.rb
|
3042
|
+
- spec/unit/secret_fetcher/azure_key_vault_spec.rb
|
3043
|
+
- spec/unit/secret_fetcher_spec.rb
|
3000
3044
|
- spec/unit/server_api_spec.rb
|
3001
3045
|
- spec/unit/server_api_versions_spec.rb
|
3002
3046
|
- spec/unit/shell/model_wrapper_spec.rb
|
@@ -3053,7 +3097,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3053
3097
|
- !ruby/object:Gem::Version
|
3054
3098
|
version: '0'
|
3055
3099
|
requirements: []
|
3056
|
-
rubygems_version: 3.2.
|
3100
|
+
rubygems_version: 3.2.22
|
3057
3101
|
signing_key:
|
3058
3102
|
specification_version: 4
|
3059
3103
|
summary: A systems integration framework, built to bring the benefits of configuration
|