Actions
User story #4651
closedChange the default TTL for CFEngine outputs files from 30 days to 7 days
Status:
Released
Priority:
N/A
Assignee:
Jonathan CLARKE
Category:
Web - Config management
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
cf-execd stores a file under /var/rudder/cfengine-community/outputs/ for each run of the agent. Each file is over 5 kB for a fresh install with no applied Directives, and can grow a lot bigger depending on the number of applied Directives.
Currently, we remove these files after 30 days.
Before Rudder 2.10 this meant a file every 5 minutes for 30 days, so about 8640 files, and at least 42 MB of data, maybe a lot more.
Since Rudder 2.10, the TTL is configurable, and the run schedule can be changed too, so this could be a lot different.
Nevertheless, let's change the default value to 7 days, to avoid storing useless information.
Actions