WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@ekohl
Copy link
Member

@ekohl ekohl commented Dec 5, 2025

The various template types are excluded from foreman-rake audits:clean because they're also used to show diffs to older versions. These can build up over time and users need a way to clean these up.

This introduces the AUDITS_PURGE_INCLUDE_TEMPLATES environment variable to purge all audit types.

Currently untested so this is a draft.

The various template types are excluded from foreman-rake audits:clean
because they're also used to show diffs to older versions. These can
build up over time and users need a way to clean these up.

This introduces the AUDITS_PURGE_INCLUDE_TEMPLATES environment variable
to purge all audit types.
Copy link
Member

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine, have not tested it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants