Resolution: Cannot Reproduce
Affects Version/s: PUP 3.6.2
Fix Version/s: None
When creating a file resource, setting ensure => directory and source to be a file, Puppet creates a file with the contents of the source, and doesn't ensure the new file is a directory.
I'm not sure if this is intended behavior or a bug.
Steps to reproduce:
1. echo "I am a file" > /tmp/a_file
2. Apply manifest
/tmp/a_directory is a file with "I am a file" inside it