summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeWaRs1206 <e.emmanuel@sap.com>2015-06-29 12:57:56 +0200
committerDeWaRs1206 <e.emmanuel@sap.com>2015-06-29 12:57:56 +0200
commit8877383448a303b2159ce0ce7cf5e87e4eb81c49 (patch)
treeb6541714989c3cbc58ec0bd7ffa8a5dd800407d0
parent0968e5a988237d51eaeecc9aa36263bb344204de (diff)
downloadchef-8877383448a303b2159ce0ce7cf5e87e4eb81c49.tar.gz
fix typo
-rw-r--r--lib/chef/application/solo.rb1
-rw-r--r--spec/unit/application/solo_spec.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb
index f82f727f99..5bb2a1ceb0 100644
--- a/lib/chef/application/solo.rb
+++ b/lib/chef/application/solo.rb
@@ -215,7 +215,6 @@ class Chef::Application::Solo < Chef::Application
tarball_path = File.join(recipes_path, 'recipes.tgz')
fetch_recipe_tarball(Chef::Config[:recipe_url], tarball_path)
Mixlib::ShellOut.new("tar zxvf #{tarball_path} -C #{recipes_path}").run_command
- #tarcommand.run_command
end
# json_attribs shuld be fetched after recipe_url tarball is unpacked.
diff --git a/spec/unit/application/solo_spec.rb b/spec/unit/application/solo_spec.rb
index cdb20b7435..7013bfa0bc 100644
--- a/spec/unit/application/solo_spec.rb
+++ b/spec/unit/application/solo_spec.rb
@@ -108,7 +108,6 @@ Enable chef-client interval runs by setting `:client_fork = true` in your config
let(:target_file) { StringIO.new }
let(:shellout) { double(run_command: nil, error!: nil, stdout: '') }
-
before do
Chef::Config[:cookbook_path] = "#{Dir.tmpdir}/chef-solo/cookbooks"
Chef::Config[:recipe_url] = "http://junglist.gen.nz/recipes.tgz"