summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-08-15 12:53:00 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-08-15 12:53:00 -0700
commit7fa842c37fb038a05748356993254a5445620594 (patch)
tree3aeb72a85a07fbd039eef5a4a700961cbbfda189
parentac2cdc8f4d2b7509892fcd6c083ab2783017866b (diff)
downloadchef-7fa842c37fb038a05748356993254a5445620594.tar.gz
more debugginglcg/testing2
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rwxr-xr-xci/verify-chef.sh2
-rw-r--r--lib/chef/provider/package/yum/python_helper.rb2
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