lib/builderator/tasks/berkshelf.rb in builderator-1.1.2 vs lib/builderator/tasks/berkshelf.rb in builderator-1.1.3
- old
+ new
@@ -42,11 +42,11 @@
command = "#{Interface.berkshelf.command} vendor #{Interface.berkshelf.vendor} "
command << "-c #{Interface.berkshelf.berkshelf_config} " unless Interface.berkshelf.berkshelf_config.nil?
command << "-b #{Interface.berkshelf.source}"
+ remove_file Interface.berkshelf.lockfile
inside Interface.berkshelf.directory do
- remove_file Interface.berkshelf.lockfile
run command
end
end
desc 'upload', 'Upload the local cookbook source and its dependencies to the Chef server'