summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-03-17 09:19:09 -0700
committerTim Smith <tsmith84@gmail.com>2021-03-17 09:19:09 -0700
commitc81c2c3759f449279b00a28af4f61602ab74462f (patch)
tree3bd5cb64c58722877a9e018324c30940e96a23e7
parent789c1778d09d22f55c822878b9335411b212c21c (diff)
downloadchef-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>
-rw-r--r--lib/chef/compliance/default_attributes.rb4
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