diff options
author | mh <mh@immerda.ch> | 2011-07-07 01:21:06 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-07-07 01:21:06 +0200 |
commit | 9a18424b2bdf3506737a28ca56a25e20950d6d68 (patch) | |
tree | d965668a7ba506f6b35ffc0df4494931ddb4aa90 /README | |
parent | 551b46b257b12b32450607083a7cd644ed0dff58 (diff) |
Revert "migrate cleanup_reports to parametrized classes as this makes it much more configurable"
This reverts commit 0f4718f062f7419092f69dcdd951339a466a79b8.
Unfortuantely due to puppet bug #5517 we currently can't do it that
nice so we need to hack around things
https://projects.puppetlabs.com/issues/5517
Diffstat (limited to 'README')
-rw-r--r-- | README | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -62,20 +62,11 @@ Reports cleanup: --------------- By default we clean up reports older than 30 days. If you want to change -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. +that, you can set $puppetmaster_cleanup_reports to one of the following +values: +* 'X', where X is the amount of days you want to keep reports for +* false, to disable reports cleanup Check last run: --------------- |