mlafeldt / chef-runner

The fastest way to run Chef cookbooks
Apache License 2.0
179 stars 17 forks source link

Update all cookbooks if Berksfile, Cheffile, etc. have changed #32

Open mlafeldt opened 9 years ago

mlafeldt commented 9 years ago

If the current folder is a cookbook and its dependencies have already been resolved, only this cookbook will be updated with rsync. While this is much faster than running e.g. Berkshelf, the directory resolver should only be used if no updates to Berksfile, Cheffile, etc. have been made. At the moment, the only workaround is to delete .chef-runner.

This could be fixed by writing a timestamp file and comparing that to the timestamp of all files that are dependencies.