diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-01 14:38:31 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-05 22:35:53 -0700 |
commit | b74d7a53addf42a2be56b262cb1207ffedf48f78 (patch) | |
tree | fc513eaa3b4988ca38892e98e752d9aef2726965 /spec/integration | |
parent | 0537474a7c576011b12149725f65da617b3e1ef0 (diff) | |
download | chef-b74d7a53addf42a2be56b262cb1207ffedf48f78.tar.gz |
CHEF-13: remove magic from the logger/formatter settings
closes #2514
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/client/client_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/integration/client/client_spec.rb b/spec/integration/client/client_spec.rb index 1cd74a6fd1..733503de42 100644 --- a/spec/integration/client/client_spec.rb +++ b/spec/integration/client/client_spec.rb @@ -294,10 +294,9 @@ chef_server_url 'http://omg.com/blah' cookbook_path "#{path_to('cookbooks')}" EOM - result = shell_out("#{chef_client} -c \"#{path_to('config/client.rb')}\" -r 'x::default' -z", :cwd => chef_dir) + result = shell_out("#{chef_client} -c \"#{path_to('config/client.rb')}\" -r 'x::default' -z -l info", :cwd => chef_dir) expect(result.stdout).not_to include("Overridden Run List") expect(result.stdout).to include("Run List is [recipe[x::default]]") - #puts result.stdout result.error! end @@ -445,7 +444,7 @@ control_group "control group without top level control" do end RECIPE - result = shell_out("#{chef_client} -c \"#{path_to('config/client.rb')}\" -o 'audit_test::succeed'", :cwd => chef_dir) + result = shell_out("#{chef_client} -c \"#{path_to('config/client.rb')}\" -o 'audit_test::succeed' -l info", :cwd => chef_dir) expect(result.error?).to be_falsey expect(result.stdout).to include("Successfully executed all `control_group` blocks and contained examples") end |