On 8/7/14 9:10 AM, Brian Wilkins wrote: > In Puppet 3.6.2, how do you globally ignore .svn directories? Links on > the internet state to put File { ignore => '.svn' } in site.pp but that > does not work. I tried putting it in nodes.pp, but I receive the error: > "Invalid parameter ignore on File[etc_facter_folder] at <path to > manifest> on node <hostname>" >
Hi Brian, Putting that in your site.pp should do it. Perhaps you are using the wrong site.pp. I use the following # Ignoring version control artifacts File { backup => 'main', ignore => [ '.svn', '.git', 'CVS', '.bzr' ], } https://github.com/transforia/puppet-modules/blob/master/manifests/site.pp#L7-14 Best regards, -g -- Garrett Honeycutt @learnpuppet Puppet Training with LearnPuppet.com Mobile: +1.206.414.8658 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/53E3F993.5080607%40garretthoneycutt.com. For more options, visit https://groups.google.com/d/optout.