summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)