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

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Feature #4828

Tidy ignore

Added by Jan Doleschal over 4 years ago. Updated over 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


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 over 4 years ago

  • Status changed from Unreviewed to Needs More Information

Why not make the match ignore certain files?

#2 Updated by Jan Doleschal over 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