The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Feature #4828

Tidy ignore

Added by Jan Doleschal about 4 years ago. Updated about 4 years ago.

Status:Needs More InformationStart date:09/23/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:tidy
Target version:-
Affected Puppet version: Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

It woult be great if tidy could ignore files. I mean something like.

tidy {"/var/log": size => "50m", age => "4w", matches => "*", ignore => "messages"; }

Regards

Jan

History

#1 Updated by James Turnbull about 4 years ago

  • Status changed from Unreviewed to Needs More Information

Why not make the match ignore certain files?

#2 Updated by Jan Doleschal about 4 years ago

Ok, that was a bad example. Another one: I am building an local software archive with our self developed software. I use puppet for deployment. The archive has some big files which should be deleted after 4 weeks. I just know the current version of the deployment, so i just want to delete all files in the directory except the current version of the file.

Also available in: Atom PDF