diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-01-25 10:25:03 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-01-25 10:25:03 -0800 |
commit | 217644ee0b2f94396551ff72a080963719a6d547 (patch) | |
tree | 36b9e14c89492a52eb809301166f0d4083dd5fd4 /lib/chef | |
parent | a6714eb58867d7ff43942697836ee43f024ca4e8 (diff) | |
download | chef-217644ee0b2f94396551ff72a080963719a6d547.tar.gz |
fix bad rebase
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/knife/cookbook_site_share.rb | 2 |
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")}") |