przemol
2013-May-21 10:08 UTC
[Puppet Users] Delete directory contents if this is older then ..
Hello, I would like to clean up some directories (linux) and remove some old contents which is older than e.g. 7 days. One way is to setup cron job (of course using puppet ...) which clears these directories. Is there any other puppet recommended way of doing that ? Regards -- 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+unsubscribe@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.
Paul Tötterman
2013-May-21 10:52 UTC
[Puppet Users] Re: Delete directory contents if this is older then ..
Hi, Is there any other puppet recommended way of doing that ?>http://docs.puppetlabs.com/references/latest/type.html#tidy Cheers, Paul -- 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+unsubscribe@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.
przemol
2013-May-21 13:40 UTC
[Puppet Users] Re: Delete directory contents if this is older then ..
On Tuesday, May 21, 2013 11:52:22 AM UTC+1, Paul Tötterman wrote:> > Hi, > > Is there any other puppet recommended way of doing that ? >> > > http://docs.puppetlabs.com/references/latest/type.html#tidy > > Cheers, > Paul >Thanks Paul - this is what I was looking for :-) Cheers P. -- 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+unsubscribe@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.