summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-12-14 17:35:39 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2021-12-14 17:35:39 -0800
commit824fdb9288c01036316b8e1c10b4893a90f9a899 (patch)
tree396ef7294c196b6858b2aea1a493e0fc7faf268e
parentf4165b07d21cae256a48cdc6a168d994bb49d575 (diff)
downloadchef-824fdb9288c01036316b8e1c10b4893a90f9a899.tar.gz
remove puts
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/package/yum/python_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/provider/package/yum/python_helper.rb b/lib/chef/provider/package/yum/python_helper.rb
index adf950ee88..7e702f06c7 100644
--- a/lib/chef/provider/package/yum/python_helper.rb
+++ b/lib/chef/provider/package/yum/python_helper.rb
@@ -179,7 +179,7 @@ class Chef
close_rpmdb unless repo_opts.empty?
query_output = query(action, parameters)
version = parse_response(query_output.lines.last)
- puts "parsed #{version} from python helper"
+ Chef::Log.trace "parsed #{version} from python helper"
close_rpmdb unless repo_opts.empty?
version
end
@@ -213,11 +213,11 @@ class Chef
def query(action, parameters)
with_helper do
json = build_query(action, parameters)
- puts "sending '#{json}' to python helper"
- outpipe.puts json
+ Chef::Log.trace "sending '#{json}' to python helper"
+ outpipe.Chef::Log.trace json
outpipe.flush
output = inpipe.readline.chomp
- puts "got '#{output}' from python helper"
+ Chef::Log.trace "got '#{output}' from python helper"
output
end
end