On Wednesday, January 2, 2013 3:17:39 PM UTC-6, iamauser wrote:
I am trying the following to recursively copy a dir while ignoring things
like .hg and a few others.
file {
/etc/work-related-dir :
source = /path/to/masterfiles/work-related-dir,
recurse = 'inf',
When you say you checked Ruby's globbing options, do you mean you
actually ran the glob against the target directory using the same Ruby that
the master runs on? It should be pretty easy to do that via irb, just to
be sure, though I don't actually see a problem with your glob. Since the