"tidy" (http://docs.puppetlabs.com/references/latest/type.html#tidy) has been 
suggested. 

I have not had good luck with it. I tried use it to clean files off of an FTP 
server that were 7 days old. It would not remove directories. 
I used a cron job instead . Two find commands: 

/usr/bin/find <ftp users home> -depth -mindepth 2 ! -type d -ctime +7 -exec rm 
-v {} \; 
/usr/bin/find <ftp users home> -depth -mindepth 2 -type d -empty -exec rmdir -v 
{} \; 

The first one cleans out files older than 7 days. 
The second one cleans out empty directories. 


“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 

----- Original Message -----
From: "Reginald Choudari" <[email protected]> 
To: [email protected] 
Sent: Monday, July 22, 2013 2:53:48 PM 
Subject: [Puppet Users] Pruning policy required ? 

I'm seeing on my puppetmasters that after a while, their 
/var/lib/puppet/reports folder eventually hogs up all available disk space. I'm 
just wondering how other people face this problem; is there some puppet 
configuration that will take care of this. Otherwise, I can implement a simple 
cron task. 

THanks, 
Reginald 


-- 
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 [email protected]. 
To post to this group, send email to [email protected]. 
Visit this group at http://groups.google.com/group/puppet-users . 
For more options, visit https://groups.google.com/groups/opt_out . 


-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to