diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-03-17 09:19:09 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-03-17 09:19:09 -0700 |
commit | c81c2c3759f449279b00a28af4f61602ab74462f (patch) | |
tree | 3bd5cb64c58722877a9e018324c30940e96a23e7 /lib/chef/compliance | |
parent | 789c1778d09d22f55c822878b9335411b212c21c (diff) | |
download | chef-c81c2c3759f449279b00a28af4f61602ab74462f.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>
Diffstat (limited to 'lib/chef/compliance')
-rw-r--r-- | lib/chef/compliance/default_attributes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/compliance/default_attributes.rb b/lib/chef/compliance/default_attributes.rb index eb3b9043ef..a1ffff440f 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 + # 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" => nil + "compliance_phase" => false ) end end |