diff options
author | Claire McQuin <claire@getchef.com> | 2014-10-31 15:04:07 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-10-31 15:04:07 -0700 |
commit | 83965110f4803416ffa535080b129f6546c746e4 (patch) | |
tree | db264f09d783c4c953052fc5db1299c4c075a7ae | |
parent | f3a8fb5ccf95338e41d34f84215310912e576695 (diff) | |
download | chef-83965110f4803416ffa535080b129f6546c746e4.tar.gz |
shell_out didn't pick up entire command
-rw-r--r-- | spec/support/pedant/run_pedant.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/support/pedant/run_pedant.rb b/spec/support/pedant/run_pedant.rb index fdefd2a728..f3fa68f44c 100644 --- a/spec/support/pedant/run_pedant.rb +++ b/spec/support/pedant/run_pedant.rb @@ -42,11 +42,13 @@ begin include Chef::Mixin::ShellOut shell_out("bundle install --gemfile spec/support/pedant/Gemfile") - so = shell_out("bundle exec chef-pedant" + + + pedant_cmd = "chef-pedant " + " --config spec/support/pedant/pedant_config.rb" + " --server #{server.url}" + " --skip-knife --skip-validation --skip-authentication" + - " --skip-authorization --skip-omnibus") + " --skip-authorization --skip-omnibus" + so = shell_out("bundle exec #{pedant_cmd}") server.stop if server.running? ensure |