diff options
author | mh <mh@immerda.ch> | 2011-07-07 00:52:08 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-07-07 00:52:08 +0200 |
commit | 0f4718f062f7419092f69dcdd951339a466a79b8 (patch) | |
tree | 3b4dd88d9fa9c93d52bbaba72974e8684a7578fd /README | |
parent | 05331a27858cd6c199acc4ffbe694592e2c40e74 (diff) |
migrate cleanup_reports to parametrized classes as this makes it much more configurable
Diffstat (limited to 'README')
-rw-r--r-- | README | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -62,11 +62,20 @@ Reports cleanup: --------------- By default we clean up reports older than 30 days. If you want to change -that, you can set $puppetmaster_cleanup_reports to one of the following -values: +that, you can subclass puppet::puppetmaster and overwrite the included class and +include that one instead: + +class mypuppetmaster inherits puppet::master { + Class['puppet::puppetmaster::cleanup_reports']{ + cleanup_older_than => 'absent' + } +} + +Where 'absent' means not to cleanup records and X any other amount of days. + +You can also adjust the locations of the reports to your needs, by setting the param +`reports_dir` to something different. -* 'X', where X is the amount of days you want to keep reports for -* false, to disable reports cleanup Check last run: --------------- |