summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2021-04-19 12:34:52 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2021-04-20 11:56:29 -0400
commitf9ab7345deac96c4538ce6c6e8531cab1f0d8148 (patch)
tree42cbb9ea350558c84e12cac76de7c9470fce3ab2
parentb43535a68c91b2b751a8c409d93c35303304e016 (diff)
downloadchef-f9ab7345deac96c4538ce6c6e8531cab1f0d8148.tar.gz
Update attribute comment/doc for new docs link
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
-rw-r--r--lib/chef/compliance/default_attributes.rb4
-rw-r--r--lib/chef/compliance/runner.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/compliance/default_attributes.rb b/lib/chef/compliance/default_attributes.rb
index f214135d59..90ddbbc83a 100644
--- a/lib/chef/compliance/default_attributes.rb
+++ b/lib/chef/compliance/default_attributes.rb
@@ -42,8 +42,8 @@ class Chef
"quiet" => true,
# Chef Inspec Compliance profiles to be used for scan of node.
- # See README.md for details
- # MPTD - ^there is no README.md anymore^
+ # See Compliance Phase documentation for further details:
+ # https://docs.chef.io/chef_compliance_phase/#compliance-phase-configuration
"profiles" => {},
# Extra inputs passed to Chef InSpec to allow finer-grained control over behavior.
diff --git a/lib/chef/compliance/runner.rb b/lib/chef/compliance/runner.rb
index 7aebeeab36..16cdf780ed 100644
--- a/lib/chef/compliance/runner.rb
+++ b/lib/chef/compliance/runner.rb
@@ -46,7 +46,7 @@ class Chef
end
def converge_start(run_context)
- # With all attributes - including cookook - loaded, we now have enough data to validate
+ # With all attributes - including cookbook - loaded, we now have enough data to validate
# configuration. Because the converge is best coupled with the associated compliance run, these validations
# will raise (and abort the converge) if the compliance phase configuration is incorrect/will
# prevent compliance phase from completing and submitting its report to all configured reporters.