diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-08-15 12:53:00 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-08-15 12:53:00 -0700 |
commit | 7fa842c37fb038a05748356993254a5445620594 (patch) | |
tree | 3aeb72a85a07fbd039eef5a4a700961cbbfda189 | |
parent | ac2cdc8f4d2b7509892fcd6c083ab2783017866b (diff) | |
download | chef-7fa842c37fb038a05748356993254a5445620594.tar.gz |
more debugginglcg/testing2
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rwxr-xr-x | ci/verify-chef.sh | 2 | ||||
-rw-r--r-- | lib/chef/provider/package/yum/python_helper.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ci/verify-chef.sh b/ci/verify-chef.sh index 3f5f024c30..e0bed00e9e 100755 --- a/ci/verify-chef.sh +++ b/ci/verify-chef.sh @@ -96,4 +96,4 @@ CHEF_GEM=`dirname $lib_dir` cd $CHEF_GEM -sudo bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o $WORKSPACE/test.xml -f documentation spec/functional/resource/yum_package_spec.rb +sudo bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o $WORKSPACE/test.xml -f documentation spec/functional/resource/yum_package_spec.rb:446 diff --git a/lib/chef/provider/package/yum/python_helper.rb b/lib/chef/provider/package/yum/python_helper.rb index 47caf46f57..c377e73c0d 100644 --- a/lib/chef/provider/package/yum/python_helper.rb +++ b/lib/chef/provider/package/yum/python_helper.rb @@ -150,9 +150,11 @@ class Chef with_helper do json = build_query(action, parameters) Chef::Log.trace "sending '#{json}' to python helper" + pp json outpipe.syswrite json + "\n" output = inpipe.sysread(4096).chomp Chef::Log.trace "got '#{output}' from python helper" + pp output return output end end |