Module for managing logrotate.
New in version 2017.7.0.
Set a new value for a specific configuration line.
Example of usage with only the required arguments:
logrotate-rotate:
logrotate.set:
- key: rotate
- value: 2
Example of usage specifying all available arguments:
logrotate-wtmp-rotate:
logrotate.set:
- key: /var/log/wtmp
- value: rotate
- setting: 2
- conf_file: /etc/logrotate.conf
Generated on December 18, 2024 at 17:29:07 UTC.
You are viewing docs for the previous stable release, 3006.9. Switch to docs for the latest stable release, 3007.1, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy