summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2015-07-01 10:38:55 +0100
committerThom May <thom@may.lt>2015-07-01 10:38:55 +0100
commit22fe3fd9b2367c7869e10ca5146012e75f8c77c8 (patch)
treec28f968c6c41158ebc20cb94cd68cfb34ad783a5 /lib
parentd640cab934f6a8373ba4ac6e261c1efee7b09c8a (diff)
parent8877383448a303b2159ce0ce7cf5e87e4eb81c49 (diff)
downloadchef-22fe3fd9b2367c7869e10ca5146012e75f8c77c8.tar.gz
Merge pull request #3591 from DeWaRs1206/master
Use Mixlib::Shellout instead of Chef::Mixin::Command
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/application/solo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb
index dd09d65b42..5bb2a1ceb0 100644
--- a/lib/chef/application/solo.rb
+++ b/lib/chef/application/solo.rb
@@ -214,7 +214,7 @@ class Chef::Application::Solo < Chef::Application
FileUtils.mkdir_p(recipes_path)
tarball_path = File.join(recipes_path, 'recipes.tgz')
fetch_recipe_tarball(Chef::Config[:recipe_url], tarball_path)
- Chef::Mixin::Command.run_command(:command => "tar zxvf #{tarball_path} -C #{recipes_path}")
+ Mixlib::ShellOut.new("tar zxvf #{tarball_path} -C #{recipes_path}").run_command
end
# json_attribs shuld be fetched after recipe_url tarball is unpacked.