scalarium/cookbooks — pull request #9 by dbloete (2012-03-15 10:28:10+00:00)
Title: Make cached-copy deletion optional

Deleting the cached-copy is a workaround for a bug in Chef for cases in which updating the cached-copy does not work because of branch-switching. For backwards-compatibility the default value is true.

Nevertheless I think it should not be a problem anyways, because the (Chef Deploy Resource)[http://wiki.opscode.com/display/chef/Deploy+Resource] offers ways to configure the strategy to do a checkout/export instead of the default option sync (which would update the existing cached-copy).

However: Do you know if this bug has been fixed in Chef, so that deletion of the cached-copy could be removed altogether?