summaryrefslogtreecommitdiff
path: root/lib/chef/compliance/default_attributes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/compliance/default_attributes.rb')
-rw-r--r--lib/chef/compliance/default_attributes.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/compliance/default_attributes.rb b/lib/chef/compliance/default_attributes.rb
index 16c5c078e7..bf64a99369 100644
--- a/lib/chef/compliance/default_attributes.rb
+++ b/lib/chef/compliance/default_attributes.rb
@@ -89,8 +89,9 @@ class Chef
# named `chef_node`.
"chef_node_attribute_enabled" => false,
- # Should the built-in compliance phase run.
- "compliance_phase" => true
+ # 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
)
end
end