lib/ridley/resources/cookbook_resource.rb in ridley-1.3.2 vs lib/ridley/resources/cookbook_resource.rb in ridley-1.4.0
- old
+ new
@@ -198,10 +198,10 @@
if options[:validate]
cookbook.validate
end
checksums = cookbook.checksums.dup
- sandbox = sandbox_resource.create(checksums.keys)
+ sandbox = sandbox_resource.create(checksums.keys.sort)
sandbox.upload(checksums)
sandbox.commit
update(cookbook, options.slice(:force, :freeze))
end