Jira (PUP-1137) Maintenance task for the filebucket

3 views
Skip to first unread message

Dafydd James (JIRA)

unread,
Apr 27, 2016, 7:12:03 AM4/27/16
to puppe...@googlegroups.com
Dafydd James commented on New Feature PUP-1137
 
Re: Maintenance task for the filebucket

Paul Tötterman / Patrik Båt - does this mean I can just add the above resource to my manifest and my clientbucket directory will be auto-housekept? Therefore I don't need to wait for this ticket to be implemented (if it is ever implemented, given what looks like a perfectly acceptable workaround)?

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Patrik Båt (JIRA)

unread,
Apr 27, 2016, 7:57:03 AM4/27/16
to puppe...@googlegroups.com

Eric Sorenson (JIRA)

unread,
Jul 13, 2016, 6:26:04 PM7/13/16
to puppe...@googlegroups.com
Eric Sorenson updated an issue
 
Puppet / New Feature PUP-1137
Change By: Eric Sorenson
Component/s: filebucket

Chris Denneen (JIRA)

unread,
Nov 7, 2019, 1:29:02 PM11/7/19
to puppe...@googlegroups.com
Chris Denneen commented on New Feature PUP-1137
 
Re: Maintenance task for the filebucket

Cleaned up my PE with this suggestion in case anyone has this issue still:

 

    tidy { '/opt/puppetlabs/server/data/puppetserver/bucket':
        age     => '5w',
        recurse => true,
        rmdirs  => true,
        backup => false,
    }

This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Nick Walker (JIRA)

unread,
Nov 7, 2019, 1:42:03 PM11/7/19
to puppe...@googlegroups.com
Nick Walker commented on New Feature PUP-1137

I'd recommend making a cron resource that deletes files older than you want. The tidy resource uses an intense amount of computing power compared to `find -delete` which uses practically no compute and completes instantly.

I think this is roughly the find command you want.

https://github.com/puppetlabs/puppetlabs-puppet_metrics_collector/blob/master/templates/tidy_cron.epp#L14

Reply all
Reply to author
Forward
0 new messages