saltstack/salt — pull request #2346 by anttix (2012-10-25 00:22:39+00:00)
Title: Use file.managed as a backend of file.recurse. Fixes #1583

Hi!

I rewrote file.recurse state module to leverage existing file.managed and file.directory
modules to do the heavy lifting. This removes code duplication and will make
templates available for file.recurse.

These improvements will be visible to the end-user:
- All files in directory can now be templatized
- destination directory is no longer created in test mode
- When clean mode is enabled, the module is capable of replacing
existing files with directories and vice versa

I understand that this is significant change so please let me know if you'd like it to be amended to do something differently.

Thank You

Anttix.