summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfried JEANNIARD <willou.com@gmail.com>2016-05-04 00:44:53 +0200
committerWilfried JEANNIARD <willou.com@gmail.com>2016-05-04 00:44:53 +0200
commitda42813f915183055d3e152e5d839ffff4ce8e92 (patch)
treee9ca2b3e1309caffc9d4a5daf67b4644abafc3ea
parentaea8d8c80caeb6547b4520f85fa39e31d06c1598 (diff)
downloadchef-da42813f915183055d3e152e5d839ffff4ce8e92.tar.gz
messages in log.debug
-rw-r--r--lib/chef/knife/cookbook_site_install.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/cookbook_site_install.rb b/lib/chef/knife/cookbook_site_install.rb
index 55ddf728f0..45f3061d87 100644
--- a/lib/chef/knife/cookbook_site_install.rb
+++ b/lib/chef/knife/cookbook_site_install.rb
@@ -145,10 +145,10 @@ class Chef
if Chef::Platform.windows?
tar_version = shell_out("tar --version").stdout.tr("\n", " ")
if tar_version =~ /GNU tar/
- ui.debug("GNU tar detected, adding --force-local")
+ Chef::Log.debug("GNU tar detected, adding --force-local")
extract_command << " --force-local"
else
- ui.debug("non-GNU tar detected, not adding --force-local")
+ Chef::Log.debug("non-GNU tar detected, not adding --force-local")
end
end
shell_out!(extract_command, :cwd => @install_path)