From 1520783f11f9dbb8883daa84ba486c32b48c1718 Mon Sep 17 00:00:00 2001 From: rishichawda Date: Tue, 28 Jan 2025 18:51:07 +0530 Subject: [PATCH 1/2] update quiet mode documentation to reflect current behavior this is related to the change that we did to fix quiet mode in https://github.com/chef/chef/pull/14779. in brief, quiet mode wasn't working before. so with the fix we didn't want to break anyone's cofiguration. so quiet mode was changed to be set to false by default. the documentation was also a little confusing since quiet mode is supposed to suppress the output completely vs "controlling verbosity". Signed-off-by: rishichawda --- content/chef_compliance_phase.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/chef_compliance_phase.md b/content/chef_compliance_phase.md index fb4764cb15..b3743ed9c5 100644 --- a/content/chef_compliance_phase.md +++ b/content/chef_compliance_phase.md @@ -473,11 +473,11 @@ default['audit']['profiles']['ssh'] = { ### quiet -Controls verbosity of the Chef InSpec runner. Defaults to `true`. To turn this off, set the attribute `default['audit']['quiet']` to `false`. +Suppresses output of the Chef InSpec runner. Defaults to `false`. To turn this on, set the attribute `default['audit']['quiet']` to `true`. ```ruby # verbose -default['audit']['quiet'] = false +default['audit']['quiet'] = true ``` ### reporter From 69b7e3d33279ff50b21a6b21788b053edf5f18cd Mon Sep 17 00:00:00 2001 From: Ian Maddaus Date: Thu, 27 Mar 2025 11:35:41 -0400 Subject: [PATCH 2/2] Clarify that this works starting in Client 18.7 Signed-off-by: Ian Maddaus --- content/chef_compliance_phase.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/chef_compliance_phase.md b/content/chef_compliance_phase.md index b3743ed9c5..212285a899 100644 --- a/content/chef_compliance_phase.md +++ b/content/chef_compliance_phase.md @@ -473,7 +473,9 @@ default['audit']['profiles']['ssh'] = { ### quiet -Suppresses output of the Chef InSpec runner. Defaults to `false`. To turn this on, set the attribute `default['audit']['quiet']` to `true`. +Starting in Chef Infra Client 18.7, use `quiet` to suppress output of the Chef InSpec runner. Defaults to `false`. + +To suppress InSpec runner output, set to `true`: ```ruby # verbose