You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When unpacking cookbooks, new cookbook directories are simply copied over existing ones. This means, when changing cookbook versions, old files may remain on the remote machine. In my case, this lead to a hard to find bug, where stuff from a leftover libraries file shadowed some newly introduced definitions.
As a quick fix I added a capistrano task which purges the roundsman_working_directory before each run. Either this should be the default behavior or we need a more sophisticated way of removing old cookbooks before unpacking cookbook.tar.
The text was updated successfully, but these errors were encountered:
tk0miya
added a commit
to tk0miya/roundsman
that referenced
this issue
Apr 3, 2013
When unpacking cookbooks, new cookbook directories are simply copied over existing ones. This means, when changing cookbook versions, old files may remain on the remote machine. In my case, this lead to a hard to find bug, where stuff from a leftover
libraries
file shadowed some newly introduced definitions.As a quick fix I added a capistrano task which purges the
roundsman_working_directory
before each run. Either this should be the default behavior or we need a more sophisticated way of removing old cookbooks before unpackingcookbook.tar
.The text was updated successfully, but these errors were encountered: