[Puppet Users] Re: Keeping a directory clean at top level

2015-07-16 Thread L. Matthew Blancett
I have this same need. In my case it's yum repo files that I want to ensure are ONLY what puppet manages (we occasional haven brazen users drop repo's on boxes, and cause big headaches down that road). Our environment is complex enough that repo's don't come from a single file, but from

Re: [Puppet Users] Re: Keeping a directory clean at top level

2015-07-16 Thread Christopher Wood
On Thu, Jul 16, 2015 at 11:46:41AM -0700, L. Matthew Blancett wrote: I have this same need. In my case it's yum repo files that I want to ensure are ONLY what puppet manages (we occasional haven brazen users drop repo's on boxes, and cause big headaches down that road). Our environment

[Puppet Users] Re: Keeping a directory clean at top level

2011-02-15 Thread donavan
On Feb 15, 10:04 am, Rich Rauenzahn rraue...@gmail.com wrote: Say we have a directory called /FOO-- we want to only have in it what puppet puts into it. ... puppet resource file /tmp/empty_me ensure=directory purge=true source=/tmp/empty recurse=true recurselimit=1 force=true I use this