saltstack/salt — pull request #12244 by terminalmage (2014-04-23 22:09:29+00:00)
Title: Add follow_symlinks param to file.directory state

Also fix a bug in ``salt.modules.file.check_perms()`` in which the function was not lchown-ing the symlink when ``follow_symlinks=False``.

Resolves #12209.