summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-01-25 10:25:03 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-01-25 10:25:03 -0800
commit217644ee0b2f94396551ff72a080963719a6d547 (patch)
tree36b9e14c89492a52eb809301166f0d4083dd5fd4 /lib/chef
parenta6714eb58867d7ff43942697836ee43f024ca4e8 (diff)
downloadchef-217644ee0b2f94396551ff72a080963719a6d547.tar.gz
fix bad rebase
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/knife/cookbook_site_share.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_site_share.rb b/lib/chef/knife/cookbook_site_share.rb
index 49f260b639..3ea130ba9f 100644
--- a/lib/chef/knife/cookbook_site_share.rb
+++ b/lib/chef/knife/cookbook_site_share.rb
@@ -81,7 +81,7 @@ class Chef
end
rescue Errno::ENOENT
end
- Chef::Mixin::Command.run_command(:command => "#{tar_cmd} -czf #{cookbook_name}.tgz #{cookbook_name}", :cwd => tmp_cookbook_dir)
+ shell_out!("#{tar_cmd} -czf #{cookbook_name}.tgz #{cookbook_name}", :cwd => tmp_cookbook_dir)
rescue => e
ui.error("Error making tarball #{cookbook_name}.tgz: #{e.message}. Increase log verbosity (-VV) for more information.")
Chef::Log.debug("\n#{e.backtrace.join("\n")}")