diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-03-17 09:19:09 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-03-17 10:21:53 -0700 |
commit | b1d6169a77b22c61bddb29655956ecac2162df09 (patch) | |
tree | 02594fd4861a9d69601cd5fa36c60d2c7ff772b3 | |
parent | d23bb9c768f46b6bb83c6911a328b1c6ef11e8f5 (diff) | |
download | chef-b1d6169a77b22c61bddb29655956ecac2162df09.tar.gz |
Disable compliance phase by default
Require an explicit opt-in for this feature due to named run lists and
override run lists breaking the detection
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/compliance/default_attributes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/compliance/default_attributes.rb b/lib/chef/compliance/default_attributes.rb index 6f508e8c26..c44adca34b 100644 --- a/lib/chef/compliance/default_attributes.rb +++ b/lib/chef/compliance/default_attributes.rb @@ -89,9 +89,9 @@ class Chef # named `chef_node`. "chef_node_attribute_enabled" => false, - # Should the built-in compliance phase run. True and false force the behavior. Nil does magic based on if you have - # profies defined but do not have the audit cookbook enabled. - "compliance_phase" => nil + # Should the built-in compliance phase run. True and false force the behavior. Nil does magic based on if you have + # profiles defined but do not have the audit cookbook enabled. + "compliance_phase" => false ) end end |