chef 17.2.29-universal-mingw32 → 17.5.22-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 +6 -5
- data/chef.gemspec +3 -0
- data/lib/chef/application/base.rb +11 -1
- data/lib/chef/application.rb +3 -1
- data/lib/chef/client.rb +2 -3
- data/lib/chef/compliance/default_attributes.rb +5 -3
- data/lib/chef/compliance/input.rb +115 -0
- data/lib/chef/compliance/input_collection.rb +139 -0
- data/lib/chef/compliance/profile.rb +122 -0
- data/lib/chef/compliance/profile_collection.rb +109 -0
- data/lib/chef/compliance/reporter/automate.rb +1 -1
- data/lib/chef/compliance/runner.rb +62 -6
- data/lib/chef/compliance/waiver.rb +115 -0
- data/lib/chef/compliance/waiver_collection.rb +143 -0
- 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/compliance.rb +38 -0
- data/lib/chef/dsl/reader_helpers.rb +51 -0
- data/lib/chef/dsl/recipe.rb +4 -2
- data/lib/chef/dsl/render_helpers.rb +44 -0
- data/lib/chef/dsl/secret.rb +62 -0
- data/lib/chef/dsl/toml.rb +116 -0
- data/lib/chef/dsl/universal.rb +7 -0
- data/lib/chef/dsl.rb +1 -0
- data/lib/chef/event_dispatch/base.rb +44 -2
- data/lib/chef/exceptions.rb +20 -0
- data/lib/chef/formatters/doc.rb +60 -13
- data/lib/chef/formatters/error_mapper.rb +2 -2
- data/lib/chef/formatters/minimal.rb +6 -5
- data/lib/chef/handler/slow_report.rb +1 -1
- data/lib/chef/http/basic_client.rb +15 -7
- data/lib/chef/http.rb +12 -8
- data/lib/chef/json_compat.rb +1 -1
- data/lib/chef/policy_builder/policyfile.rb +88 -45
- data/lib/chef/provider/execute.rb +1 -1
- data/lib/chef/provider/file.rb +4 -2
- data/lib/chef/provider/group/dscl.rb +1 -1
- data/lib/chef/provider/launchd.rb +6 -6
- data/lib/chef/provider/link.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/provider/registry_key.rb +3 -2
- data/lib/chef/provider/remote_file/http.rb +1 -1
- data/lib/chef/provider/subversion.rb +4 -4
- data/lib/chef/provider/support/yum_repo.erb +1 -1
- data/lib/chef/provider/systemd_unit.rb +17 -16
- data/lib/chef/provider/template.rb +1 -1
- data/lib/chef/provider/user/mac.rb +3 -3
- data/lib/chef/provider/yum_repository.rb +27 -43
- data/lib/chef/provider/zypper_repository.rb +3 -3
- data/lib/chef/provider.rb +26 -1
- data/lib/chef/provider_resolver.rb +8 -2
- data/lib/chef/providers.rb +1 -0
- data/lib/chef/resource/archive_file.rb +17 -14
- 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 +46 -3
- 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/chocolatey_config.rb +13 -13
- data/lib/chef/resource/dsc_resource.rb +1 -1
- data/lib/chef/resource/execute.rb +5 -5
- data/lib/chef/resource/file/verification/json.rb +50 -0
- data/lib/chef/resource/file/verification/yaml.rb +52 -0
- 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/homebrew_cask.rb +1 -1
- data/lib/chef/resource/inspec_input.rb +128 -0
- data/lib/chef/resource/inspec_waiver.rb +185 -0
- data/lib/chef/resource/inspec_waiver_file_entry.rb +2 -2
- data/lib/chef/resource/launchd.rb +3 -3
- data/lib/chef/resource/lwrp_base.rb +1 -1
- data/lib/chef/resource/mount.rb +1 -1
- data/lib/chef/resource/registry_key.rb +36 -48
- data/lib/chef/resource/remote_file.rb +99 -3
- data/lib/chef/resource/rhsm_subscription.rb +5 -5
- data/lib/chef/resource/ruby_block.rb +100 -0
- data/lib/chef/resource/scm/subversion.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/sysctl.rb +2 -2
- data/lib/chef/resource/systemd_unit.rb +3 -3
- data/lib/chef/resource/timezone.rb +2 -2
- data/lib/chef/resource/user_ulimit.rb +1 -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_uac.rb +3 -1
- data/lib/chef/resource/windows_update_settings.rb +259 -0
- data/lib/chef/resource/windows_user_privilege.rb +1 -1
- data/lib/chef/resource/yum_package.rb +1 -5
- data/lib/chef/resource.rb +13 -17
- data/lib/chef/resource_inspector.rb +6 -2
- data/lib/chef/resources.rb +14 -1
- data/lib/chef/run_context/cookbook_compiler.rb +112 -28
- data/lib/chef/run_context.rb +31 -1
- data/lib/chef/secret_fetcher/akeyless_vault.rb +57 -0
- data/lib/chef/secret_fetcher/aws_secrets_manager.rb +65 -0
- data/lib/chef/secret_fetcher/azure_key_vault.rb +78 -0
- data/lib/chef/secret_fetcher/base.rb +76 -0
- data/lib/chef/secret_fetcher/example.rb +46 -0
- data/lib/chef/secret_fetcher/hashi_vault.rb +100 -0
- data/lib/chef/secret_fetcher.rb +61 -0
- data/lib/chef/version.rb +1 -1
- data/spec/data/archive_file/test_archive.tar.gz +0 -0
- data/spec/functional/mixin/from_file_spec.rb +1 -1
- data/spec/functional/resource/archive_file_spec.rb +87 -0
- data/spec/functional/resource/group_spec.rb +5 -1
- data/spec/functional/resource/link_spec.rb +8 -0
- data/spec/integration/compliance/compliance_spec.rb +61 -0
- data/spec/integration/recipes/recipe_dsl_spec.rb +1 -1
- data/spec/integration/recipes/resource_action_spec.rb +6 -6
- data/spec/spec_helper.rb +3 -0
- data/spec/support/platform_helpers.rb +4 -0
- data/spec/support/ruby_installer.rb +51 -0
- data/spec/support/shared/unit/provider/file.rb +2 -8
- data/spec/unit/compliance/input_spec.rb +104 -0
- data/spec/unit/compliance/profile_spec.rb +120 -0
- data/spec/unit/compliance/runner_spec.rb +46 -2
- data/spec/unit/compliance/waiver_spec.rb +104 -0
- 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 +71 -0
- data/spec/unit/formatters/doc_spec.rb +1 -1
- data/spec/unit/http/basic_client_spec.rb +30 -0
- data/spec/unit/http_spec.rb +8 -2
- 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/link_spec.rb +13 -7
- data/spec/unit/provider/mount/aix_spec.rb +1 -1
- data/spec/unit/provider/package/powershell_spec.rb +74 -12
- data/spec/unit/provider/remote_file/http_spec.rb +10 -0
- data/spec/unit/provider/template_spec.rb +2 -2
- data/spec/unit/provider_spec.rb +23 -0
- data/spec/unit/resource/archive_file_spec.rb +414 -3
- data/spec/unit/resource/chef_client_scheduled_task_spec.rb +69 -0
- data/spec/unit/resource/file/verification/json_spec.rb +72 -0
- data/spec/unit/resource/file/verification/yaml_spec.rb +67 -0
- data/spec/unit/resource/homebrew_cask_spec.rb +29 -11
- data/spec/unit/resource/inspec_input_spec.rb +300 -0
- data/spec/unit/resource/inspec_waiver_spec.rb +312 -0
- data/spec/unit/resource/mount_spec.rb +10 -0
- data/spec/unit/resource/rhsm_subscription_spec.rb +50 -3
- data/spec/unit/resource/systemd_unit_spec.rb +1 -1
- data/spec/unit/resource/user_ulimit_spec.rb +14 -1
- 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/resource_spec.rb +19 -8
- data/spec/unit/secret_fetcher/akeyless_vault_spec.rb +37 -0
- data/spec/unit/secret_fetcher/aws_secrets_manager_spec.rb +70 -0
- data/spec/unit/secret_fetcher/azure_key_vault_spec.rb +70 -0
- data/spec/unit/secret_fetcher/hashi_vault_spec.rb +80 -0
- data/spec/unit/secret_fetcher_spec.rb +82 -0
- data/tasks/rspec.rb +2 -1
- metadata +106 -7
@@ -0,0 +1,82 @@
|
|
1
|
+
#
|
2
|
+
# Author:: Marc Paradise <marc@chef.io>
|
3
|
+
# Copyright:: Copyright (c) Chef Software Inc.
|
4
|
+
# License:: Apache License, Version 2.0
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require "chef/secret_fetcher"
|
20
|
+
require "chef/secret_fetcher/example"
|
21
|
+
|
22
|
+
class SecretFetcherImpl < Chef::SecretFetcher::Base
|
23
|
+
def do_fetch(name, version)
|
24
|
+
name
|
25
|
+
end
|
26
|
+
|
27
|
+
def validate!; end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe Chef::SecretFetcher do
|
31
|
+
let(:fetcher_impl) { SecretFetcherImpl.new({}, nil) }
|
32
|
+
|
33
|
+
before do
|
34
|
+
allow(Chef::SecretFetcher::Example).to receive(:new).and_return fetcher_impl
|
35
|
+
end
|
36
|
+
|
37
|
+
context ".for_service" do
|
38
|
+
it "resolves the example fetcher without error" do
|
39
|
+
Chef::SecretFetcher.for_service(:example, {}, nil)
|
40
|
+
end
|
41
|
+
|
42
|
+
it "resolves the Azure Key Vault fetcher without error" do
|
43
|
+
Chef::SecretFetcher.for_service(:azure_key_vault, { vault: "invalid" }, nil)
|
44
|
+
end
|
45
|
+
|
46
|
+
it "resolves the AWS fetcher without error" do
|
47
|
+
Chef::SecretFetcher.for_service(:aws_secrets_manager, { region: "invalid" }, nil)
|
48
|
+
end
|
49
|
+
|
50
|
+
it "raises Chef::Exceptions::Secret::MissingFetcher when service is blank" do
|
51
|
+
expect { Chef::SecretFetcher.for_service(nil, {}, nil) }.to raise_error(Chef::Exceptions::Secret::MissingFetcher)
|
52
|
+
end
|
53
|
+
|
54
|
+
it "raises Chef::Exceptions::Secret::MissingFetcher when service is nil" do
|
55
|
+
expect { Chef::SecretFetcher.for_service("", {}, nil) }.to raise_error(Chef::Exceptions::Secret::MissingFetcher)
|
56
|
+
end
|
57
|
+
|
58
|
+
it "raises Chef::Exceptions::Secret::InvalidFetcher for an unknown fetcher" do
|
59
|
+
expect { Chef::SecretFetcher.for_service(:bad_example, {}, nil) }.to raise_error(Chef::Exceptions::Secret::InvalidFetcherService)
|
60
|
+
end
|
61
|
+
|
62
|
+
it "ensures fetcher configuration is valid by invoking validate!" do
|
63
|
+
expect(fetcher_impl).to receive(:validate!)
|
64
|
+
Chef::SecretFetcher.for_service(:example, {}, nil)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
context "#fetch" do
|
69
|
+
let(:fetcher) {
|
70
|
+
Chef::SecretFetcher.for_service(:example, { "key1" => "value1" }, nil)
|
71
|
+
}
|
72
|
+
|
73
|
+
it "fetches from the underlying service when secret name is provided " do
|
74
|
+
expect(fetcher_impl).to receive(:fetch).with("key1", "v1")
|
75
|
+
fetcher.fetch("key1", "v1")
|
76
|
+
end
|
77
|
+
|
78
|
+
it "raises an error when the secret name is not provided" do
|
79
|
+
expect { fetcher.fetch(nil) }.to raise_error(Chef::Exceptions::Secret::MissingSecretName)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
data/tasks/rspec.rb
CHANGED
@@ -30,7 +30,8 @@ begin
|
|
30
30
|
puts "--- Running #{gem} specs"
|
31
31
|
Bundler.with_unbundled_env do
|
32
32
|
puts "Executing tests in #{Dir.pwd}:"
|
33
|
-
sh("bundle
|
33
|
+
sh("bundle config set --local path 'vendor/bundle'")
|
34
|
+
sh("bundle install --jobs=3 --retry=3")
|
34
35
|
sh("bundle exec rake spec")
|
35
36
|
end
|
36
37
|
end
|
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.5.22
|
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-09-23 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.5.22
|
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.5.22
|
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.5.22
|
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.5.22
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: train-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -440,6 +440,48 @@ dependencies:
|
|
440
440
|
- - "~>"
|
441
441
|
- !ruby/object:Gem::Version
|
442
442
|
version: '1.0'
|
443
|
+
- !ruby/object:Gem::Dependency
|
444
|
+
name: aws-sdk-s3
|
445
|
+
requirement: !ruby/object:Gem::Requirement
|
446
|
+
requirements:
|
447
|
+
- - "~>"
|
448
|
+
- !ruby/object:Gem::Version
|
449
|
+
version: '1.91'
|
450
|
+
type: :runtime
|
451
|
+
prerelease: false
|
452
|
+
version_requirements: !ruby/object:Gem::Requirement
|
453
|
+
requirements:
|
454
|
+
- - "~>"
|
455
|
+
- !ruby/object:Gem::Version
|
456
|
+
version: '1.91'
|
457
|
+
- !ruby/object:Gem::Dependency
|
458
|
+
name: aws-sdk-secretsmanager
|
459
|
+
requirement: !ruby/object:Gem::Requirement
|
460
|
+
requirements:
|
461
|
+
- - "~>"
|
462
|
+
- !ruby/object:Gem::Version
|
463
|
+
version: '1.46'
|
464
|
+
type: :runtime
|
465
|
+
prerelease: false
|
466
|
+
version_requirements: !ruby/object:Gem::Requirement
|
467
|
+
requirements:
|
468
|
+
- - "~>"
|
469
|
+
- !ruby/object:Gem::Version
|
470
|
+
version: '1.46'
|
471
|
+
- !ruby/object:Gem::Dependency
|
472
|
+
name: vault
|
473
|
+
requirement: !ruby/object:Gem::Requirement
|
474
|
+
requirements:
|
475
|
+
- - "~>"
|
476
|
+
- !ruby/object:Gem::Version
|
477
|
+
version: '0.16'
|
478
|
+
type: :runtime
|
479
|
+
prerelease: false
|
480
|
+
version_requirements: !ruby/object:Gem::Requirement
|
481
|
+
requirements:
|
482
|
+
- - "~>"
|
483
|
+
- !ruby/object:Gem::Version
|
484
|
+
version: '0.16'
|
443
485
|
- !ruby/object:Gem::Dependency
|
444
486
|
name: win32-api
|
445
487
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1352,12 +1394,18 @@ files:
|
|
1352
1394
|
- lib/chef/compliance/default_attributes.rb
|
1353
1395
|
- lib/chef/compliance/fetcher/automate.rb
|
1354
1396
|
- lib/chef/compliance/fetcher/chef_server.rb
|
1397
|
+
- lib/chef/compliance/input.rb
|
1398
|
+
- lib/chef/compliance/input_collection.rb
|
1399
|
+
- lib/chef/compliance/profile.rb
|
1400
|
+
- lib/chef/compliance/profile_collection.rb
|
1355
1401
|
- lib/chef/compliance/reporter/automate.rb
|
1356
1402
|
- lib/chef/compliance/reporter/chef_server_automate.rb
|
1357
1403
|
- lib/chef/compliance/reporter/cli.rb
|
1358
1404
|
- lib/chef/compliance/reporter/compliance_enforcer.rb
|
1359
1405
|
- lib/chef/compliance/reporter/json_file.rb
|
1360
1406
|
- lib/chef/compliance/runner.rb
|
1407
|
+
- lib/chef/compliance/waiver.rb
|
1408
|
+
- lib/chef/compliance/waiver_collection.rb
|
1361
1409
|
- lib/chef/config.rb
|
1362
1410
|
- lib/chef/config_fetcher.rb
|
1363
1411
|
- lib/chef/constants.rb
|
@@ -1397,6 +1445,7 @@ files:
|
|
1397
1445
|
- lib/chef/dsl.rb
|
1398
1446
|
- lib/chef/dsl/chef_vault.rb
|
1399
1447
|
- lib/chef/dsl/cheffish.rb
|
1448
|
+
- lib/chef/dsl/compliance.rb
|
1400
1449
|
- lib/chef/dsl/data_query.rb
|
1401
1450
|
- lib/chef/dsl/declare_resource.rb
|
1402
1451
|
- lib/chef/dsl/definitions.rb
|
@@ -1404,10 +1453,14 @@ files:
|
|
1404
1453
|
- lib/chef/dsl/include_recipe.rb
|
1405
1454
|
- lib/chef/dsl/platform_introspection.rb
|
1406
1455
|
- lib/chef/dsl/powershell.rb
|
1456
|
+
- lib/chef/dsl/reader_helpers.rb
|
1407
1457
|
- lib/chef/dsl/reboot_pending.rb
|
1408
1458
|
- lib/chef/dsl/recipe.rb
|
1409
1459
|
- lib/chef/dsl/registry_helper.rb
|
1460
|
+
- lib/chef/dsl/render_helpers.rb
|
1410
1461
|
- lib/chef/dsl/resources.rb
|
1462
|
+
- lib/chef/dsl/secret.rb
|
1463
|
+
- lib/chef/dsl/toml.rb
|
1411
1464
|
- lib/chef/dsl/universal.rb
|
1412
1465
|
- lib/chef/encrypted_data_bag_item.rb
|
1413
1466
|
- lib/chef/encrypted_data_bag_item/assertions.rb
|
@@ -1613,6 +1666,7 @@ files:
|
|
1613
1666
|
- lib/chef/provider/package/freebsd/base.rb
|
1614
1667
|
- lib/chef/provider/package/freebsd/pkgng.rb
|
1615
1668
|
- lib/chef/provider/package/freebsd/port.rb
|
1669
|
+
- lib/chef/provider/package/habitat.rb
|
1616
1670
|
- lib/chef/provider/package/homebrew.rb
|
1617
1671
|
- lib/chef/provider/package/ips.rb
|
1618
1672
|
- lib/chef/provider/package/macports.rb
|
@@ -1742,10 +1796,21 @@ files:
|
|
1742
1796
|
- lib/chef/resource/execute.rb
|
1743
1797
|
- lib/chef/resource/file.rb
|
1744
1798
|
- lib/chef/resource/file/verification.rb
|
1799
|
+
- lib/chef/resource/file/verification/json.rb
|
1745
1800
|
- lib/chef/resource/file/verification/systemd_unit.rb
|
1801
|
+
- lib/chef/resource/file/verification/yaml.rb
|
1746
1802
|
- lib/chef/resource/freebsd_package.rb
|
1747
1803
|
- lib/chef/resource/gem_package.rb
|
1748
1804
|
- lib/chef/resource/group.rb
|
1805
|
+
- lib/chef/resource/habitat/_habitat_shared.rb
|
1806
|
+
- lib/chef/resource/habitat/habitat_package.rb
|
1807
|
+
- lib/chef/resource/habitat/habitat_sup.rb
|
1808
|
+
- lib/chef/resource/habitat/habitat_sup_systemd.rb
|
1809
|
+
- lib/chef/resource/habitat/habitat_sup_windows.rb
|
1810
|
+
- lib/chef/resource/habitat_config.rb
|
1811
|
+
- lib/chef/resource/habitat_install.rb
|
1812
|
+
- lib/chef/resource/habitat_service.rb
|
1813
|
+
- lib/chef/resource/habitat_user_toml.rb
|
1749
1814
|
- lib/chef/resource/helpers/cron_validations.rb
|
1750
1815
|
- lib/chef/resource/homebrew_cask.rb
|
1751
1816
|
- lib/chef/resource/homebrew_package.rb
|
@@ -1754,6 +1819,8 @@ files:
|
|
1754
1819
|
- lib/chef/resource/hostname.rb
|
1755
1820
|
- lib/chef/resource/http_request.rb
|
1756
1821
|
- lib/chef/resource/ifconfig.rb
|
1822
|
+
- lib/chef/resource/inspec_input.rb
|
1823
|
+
- lib/chef/resource/inspec_waiver.rb
|
1757
1824
|
- lib/chef/resource/inspec_waiver_file_entry.rb
|
1758
1825
|
- lib/chef/resource/ips_package.rb
|
1759
1826
|
- lib/chef/resource/kernel_module.rb
|
@@ -1816,11 +1883,13 @@ files:
|
|
1816
1883
|
- lib/chef/resource/solaris_package.rb
|
1817
1884
|
- lib/chef/resource/ssh_known_hosts_entry.rb
|
1818
1885
|
- lib/chef/resource/sudo.rb
|
1886
|
+
- lib/chef/resource/support/HabService.dll.config.erb
|
1819
1887
|
- lib/chef/resource/support/client.erb
|
1820
1888
|
- lib/chef/resource/support/cron.d.erb
|
1821
1889
|
- lib/chef/resource/support/cron_access.erb
|
1822
1890
|
- lib/chef/resource/support/ssh_known_hosts.erb
|
1823
1891
|
- lib/chef/resource/support/sudoer.erb
|
1892
|
+
- lib/chef/resource/support/sup.toml.erb
|
1824
1893
|
- lib/chef/resource/support/ulimit.erb
|
1825
1894
|
- lib/chef/resource/swap_file.rb
|
1826
1895
|
- lib/chef/resource/sysctl.rb
|
@@ -1840,6 +1909,8 @@ files:
|
|
1840
1909
|
- lib/chef/resource/windows_audit_policy.rb
|
1841
1910
|
- lib/chef/resource/windows_auto_run.rb
|
1842
1911
|
- lib/chef/resource/windows_certificate.rb
|
1912
|
+
- lib/chef/resource/windows_defender.rb
|
1913
|
+
- lib/chef/resource/windows_defender_exclusion.rb
|
1843
1914
|
- lib/chef/resource/windows_dfs_folder.rb
|
1844
1915
|
- lib/chef/resource/windows_dfs_namespace.rb
|
1845
1916
|
- lib/chef/resource/windows_dfs_server.rb
|
@@ -1864,6 +1935,7 @@ files:
|
|
1864
1935
|
- lib/chef/resource/windows_shortcut.rb
|
1865
1936
|
- lib/chef/resource/windows_task.rb
|
1866
1937
|
- lib/chef/resource/windows_uac.rb
|
1938
|
+
- lib/chef/resource/windows_update_settings.rb
|
1867
1939
|
- lib/chef/resource/windows_user_privilege.rb
|
1868
1940
|
- lib/chef/resource/windows_workgroup.rb
|
1869
1941
|
- lib/chef/resource/yum_package.rb
|
@@ -1895,6 +1967,13 @@ files:
|
|
1895
1967
|
- lib/chef/sandbox.rb
|
1896
1968
|
- lib/chef/scan_access_control.rb
|
1897
1969
|
- lib/chef/search/query.rb
|
1970
|
+
- lib/chef/secret_fetcher.rb
|
1971
|
+
- lib/chef/secret_fetcher/akeyless_vault.rb
|
1972
|
+
- lib/chef/secret_fetcher/aws_secrets_manager.rb
|
1973
|
+
- lib/chef/secret_fetcher/azure_key_vault.rb
|
1974
|
+
- lib/chef/secret_fetcher/base.rb
|
1975
|
+
- lib/chef/secret_fetcher/example.rb
|
1976
|
+
- lib/chef/secret_fetcher/hashi_vault.rb
|
1898
1977
|
- lib/chef/server_api.rb
|
1899
1978
|
- lib/chef/server_api_versions.rb
|
1900
1979
|
- lib/chef/shell.rb
|
@@ -2023,6 +2102,7 @@ files:
|
|
2023
2102
|
- spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
|
2024
2103
|
- spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
|
2025
2104
|
- spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
|
2105
|
+
- spec/data/archive_file/test_archive.tar.gz
|
2026
2106
|
- spec/data/bad-config.rb
|
2027
2107
|
- spec/data/bootstrap/encrypted_data_bag_secret
|
2028
2108
|
- spec/data/bootstrap/no_proxy.erb
|
@@ -2407,6 +2487,7 @@ files:
|
|
2407
2487
|
- spec/functional/resource/aix_service_spec.rb
|
2408
2488
|
- spec/functional/resource/aixinit_service_spec.rb
|
2409
2489
|
- spec/functional/resource/apt_package_spec.rb
|
2490
|
+
- spec/functional/resource/archive_file_spec.rb
|
2410
2491
|
- spec/functional/resource/bash_spec.rb
|
2411
2492
|
- spec/functional/resource/batch_spec.rb
|
2412
2493
|
- spec/functional/resource/bff_spec.rb
|
@@ -2511,6 +2592,7 @@ files:
|
|
2511
2592
|
- spec/support/platforms/prof/win32.rb
|
2512
2593
|
- spec/support/platforms/win32/spec_service.rb
|
2513
2594
|
- spec/support/recipe_dsl_helper.rb
|
2595
|
+
- spec/support/ruby_installer.rb
|
2514
2596
|
- spec/support/shared/context/config.rb
|
2515
2597
|
- spec/support/shared/context/win32.rb
|
2516
2598
|
- spec/support/shared/functional/diff_disabled.rb
|
@@ -2571,10 +2653,13 @@ files:
|
|
2571
2653
|
- spec/unit/client_spec.rb
|
2572
2654
|
- spec/unit/compliance/fetcher/automate_spec.rb
|
2573
2655
|
- spec/unit/compliance/fetcher/chef_server_spec.rb
|
2656
|
+
- spec/unit/compliance/input_spec.rb
|
2657
|
+
- spec/unit/compliance/profile_spec.rb
|
2574
2658
|
- spec/unit/compliance/reporter/automate_spec.rb
|
2575
2659
|
- spec/unit/compliance/reporter/chef_server_automate_spec.rb
|
2576
2660
|
- spec/unit/compliance/reporter/compliance_enforcer_spec.rb
|
2577
2661
|
- spec/unit/compliance/runner_spec.rb
|
2662
|
+
- spec/unit/compliance/waiver_spec.rb
|
2578
2663
|
- spec/unit/config_fetcher_spec.rb
|
2579
2664
|
- spec/unit/config_spec.rb
|
2580
2665
|
- spec/unit/cookbook/chefignore_spec.rb
|
@@ -2609,7 +2694,9 @@ files:
|
|
2609
2694
|
- spec/unit/dsl/reboot_pending_spec.rb
|
2610
2695
|
- spec/unit/dsl/recipe_spec.rb
|
2611
2696
|
- spec/unit/dsl/registry_helper_spec.rb
|
2697
|
+
- spec/unit/dsl/render_helpers_spec.rb
|
2612
2698
|
- spec/unit/dsl/resources_spec.rb
|
2699
|
+
- spec/unit/dsl/secret_spec.rb
|
2613
2700
|
- spec/unit/encrypted_data_bag_item/check_encrypted_spec.rb
|
2614
2701
|
- spec/unit/encrypted_data_bag_item_spec.rb
|
2615
2702
|
- spec/unit/environment_spec.rb
|
@@ -2859,7 +2946,9 @@ files:
|
|
2859
2946
|
- spec/unit/resource/dsc_resource_spec.rb
|
2860
2947
|
- spec/unit/resource/dsc_script_spec.rb
|
2861
2948
|
- spec/unit/resource/execute_spec.rb
|
2949
|
+
- spec/unit/resource/file/verification/json_spec.rb
|
2862
2950
|
- spec/unit/resource/file/verification/systemd_unit_spec.rb
|
2951
|
+
- spec/unit/resource/file/verification/yaml_spec.rb
|
2863
2952
|
- spec/unit/resource/file/verification_spec.rb
|
2864
2953
|
- spec/unit/resource/file_spec.rb
|
2865
2954
|
- spec/unit/resource/freebsd_package_spec.rb
|
@@ -2873,7 +2962,9 @@ files:
|
|
2873
2962
|
- spec/unit/resource/hostname_spec.rb
|
2874
2963
|
- spec/unit/resource/http_request_spec.rb
|
2875
2964
|
- spec/unit/resource/ifconfig_spec.rb
|
2965
|
+
- spec/unit/resource/inspec_input_spec.rb
|
2876
2966
|
- spec/unit/resource/inspec_waiver_file_entry_spec.rb
|
2967
|
+
- spec/unit/resource/inspec_waiver_spec.rb
|
2877
2968
|
- spec/unit/resource/ips_package_spec.rb
|
2878
2969
|
- spec/unit/resource/kernel_module_spec.rb
|
2879
2970
|
- spec/unit/resource/ksh_spec.rb
|
@@ -2946,6 +3037,8 @@ files:
|
|
2946
3037
|
- spec/unit/resource/windows_audit_policy_spec.rb
|
2947
3038
|
- spec/unit/resource/windows_auto_run_spec.rb
|
2948
3039
|
- spec/unit/resource/windows_certificate_spec.rb
|
3040
|
+
- spec/unit/resource/windows_defender_exclusion_spec.rb
|
3041
|
+
- spec/unit/resource/windows_defender_spec.rb
|
2949
3042
|
- spec/unit/resource/windows_dfs_folder_spec.rb
|
2950
3043
|
- spec/unit/resource/windows_dfs_namespace_spec.rb
|
2951
3044
|
- spec/unit/resource/windows_dfs_server_spec.rb
|
@@ -2968,6 +3061,7 @@ files:
|
|
2968
3061
|
- spec/unit/resource/windows_shortcut_spec.rb
|
2969
3062
|
- spec/unit/resource/windows_task_spec.rb
|
2970
3063
|
- spec/unit/resource/windows_uac_spec.rb
|
3064
|
+
- spec/unit/resource/windows_update_settings_spec.rb
|
2971
3065
|
- spec/unit/resource/windows_user_privilege_spec.rb
|
2972
3066
|
- spec/unit/resource/windows_workgroup_spec.rb
|
2973
3067
|
- spec/unit/resource/yum_package_spec.rb
|
@@ -2997,6 +3091,11 @@ files:
|
|
2997
3091
|
- spec/unit/runner_spec.rb
|
2998
3092
|
- spec/unit/scan_access_control_spec.rb
|
2999
3093
|
- spec/unit/search/query_spec.rb
|
3094
|
+
- spec/unit/secret_fetcher/akeyless_vault_spec.rb
|
3095
|
+
- spec/unit/secret_fetcher/aws_secrets_manager_spec.rb
|
3096
|
+
- spec/unit/secret_fetcher/azure_key_vault_spec.rb
|
3097
|
+
- spec/unit/secret_fetcher/hashi_vault_spec.rb
|
3098
|
+
- spec/unit/secret_fetcher_spec.rb
|
3000
3099
|
- spec/unit/server_api_spec.rb
|
3001
3100
|
- spec/unit/server_api_versions_spec.rb
|
3002
3101
|
- spec/unit/shell/model_wrapper_spec.rb
|
@@ -3053,7 +3152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3053
3152
|
- !ruby/object:Gem::Version
|
3054
3153
|
version: '0'
|
3055
3154
|
requirements: []
|
3056
|
-
rubygems_version: 3.2.
|
3155
|
+
rubygems_version: 3.2.22
|
3057
3156
|
signing_key:
|
3058
3157
|
specification_version: 4
|
3059
3158
|
summary: A systems integration framework, built to bring the benefits of configuration
|