Skip to content
Browse files

[GH-14] Handles deleting an environment that has had multiple version…

…s of cookbooks uploaded
  • Loading branch information...
1 parent 9872dd6 commit d8d799c08734eb4d59cf51b004c38986a2b2caa7 @miketheman miketheman committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/spiceweasel/cookbook_list.rb
View
2 lib/spiceweasel/cookbook_list.rb
@@ -46,7 +46,7 @@ def initialize(cookbooks = [], options = {})
STDERR.puts "'cookbooks' directory not found, unable to validate, download and load cookbooks" unless NOVALIDATION
end
@create += "knife cookbook#{options['knife_options']} upload #{cb}\n"
- @delete += "knife cookbook#{options['knife_options']} delete #{cb} #{version} -y\n"
+ @delete += "knife cookbook#{options['knife_options']} delete #{cb} #{version} -a -y\n"
@cookbook_list[cb] = version
end

0 comments on commit d8d799c

Please sign in to comment.
Something went wrong with that request. Please try again.