tobami/littlechef — Issue #64: Follow symlinks
Author: mheffner
Created: 2011-10-12 20:43:27+00:00
State: open

Sometimes it is convenient to symlink a cookbook directory from elsewhere into the cookbooks directory in order to test a cookbook maintained elsewhere. `fix` does not appear to follow symlinks under the cookbooks directory, only actual directories.

This failed with 'Cookbook rsyslog not found':

```
ln -s /some/path/to/rsyslog $KITCHEN/cookbooks/rsyslog
fix node=something recipe:rsyslog
```

While this worked:

```
cp -r /some/path/to/rsyslog $KITCHEN/cookbooks/rsyslog
fix node=something recipe:rsyslog
```