deanwilson/puppet-scripts — pull request #5 by sijis (2013-10-25 05:32:56+00:00)
Title: Setting find to follow softlinks

This fixed some issues where paths to apps are softlinked to keep the paths to them version agnostic.

Assuming you have a setup like this and are using the softlinked path in your puppet manifests

/opt/app -> /opt/app-1.2.3

Using the -L option for find will allow files in softlink path to be reported by puppet-ls correctly.