On Thursday, April 25, 2013 1:26:05 PM UTC-5, Nick Fagerlund wrote:
>
>
>
> tidy {'/tmp/jars':
>   recurse => true,
>   matches => "my_jar.*.jar",
> }
>
> This example would kill all files matching that shell glob pattern UNLESS 
> there's already a puppet resource for them, so it would leave the latest 
> version intact. (I just tested it to make sure that's the case.)
>


Very nice!  I seem always to forget about 'tidy', but it's a good fit 
here.  I wish its docs were clear that it does not affect files that are 
otherwise managed, though I guess that's a reasonable expectation.


John

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to