diff options
Diffstat (limited to 'lib/chef/compliance/default_attributes.rb')
-rw-r--r-- | lib/chef/compliance/default_attributes.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/compliance/default_attributes.rb b/lib/chef/compliance/default_attributes.rb index b0653b46d8..6f508e8c26 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 |