Module for managing logrotate.
New in version 2017.7.0.
Set a new value for a specific configuration line.
Parameters: |
---|
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
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.logrotate.html