deanwilson/puppet-scripts — pull request #6 by rowanthorpe (2014-03-12 10:27:16+00:00)
Title: Make ls handle rootdir dotfiles (backslash the !)

This ensures the `ls` invocation doesn't miss any dotfiles in the `$target` directory, while avoiding `.` and `..`. It backslashes the `!` in case any shells are setup to do unexpected voodoo with that symbol...