From db8cda192518f7d3658573cb7974eb8a6e3dd6d1 Mon Sep 17 00:00:00 2001 From: Thom May Date: Mon, 9 Nov 2015 14:59:01 +0000 Subject: respond to review comments the logic is now: if the resource is not sensitive, and if it's explicitly requested to be streamed or if the log level is info or debug, then we'll consider streaming it. If we're configured to send the output to the events stream, we'll do so. Otherwise, if we're not daemonized and have a TTY, we'll go to STDOUT --- chef-config/spec/unit/config_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chef-config/spec/unit') diff --git a/chef-config/spec/unit/config_spec.rb b/chef-config/spec/unit/config_spec.rb index fc8528ad46..8e9a499a1a 100644 --- a/chef-config/spec/unit/config_spec.rb +++ b/chef-config/spec/unit/config_spec.rb @@ -264,8 +264,8 @@ RSpec.describe ChefConfig::Config do end end - it "ChefConfig::Config[:always_stream_output] defaults to false" do - expect(ChefConfig::Config[:always_stream_output]).to eq(false) + it "ChefConfig::Config[:stream_execute_output] defaults to false" do + expect(ChefConfig::Config[:stream_execute_output]).to eq(false) end it "ChefConfig::Config[:file_backup_path] defaults to /var/chef/backup" do -- cgit v1.2.1