Install and configure logrotate on a machine. | Install and configure logrotate on a machine. | ||||
The config files are per OS. | The config files are per OS. | ||||
At the moment only Debian, RedHat and Archlinux supported with this formula | |||||
At the moment only Debian, RedHat, Scientific Linux and Archlinux supported with this formula | |||||
.. note:: | .. note:: | ||||
See the full `Salt Formulas installation and usage instructions | See the full `Salt Formulas installation and usage instructions |
'user' : 'root', | 'user' : 'root', | ||||
'group' : 'root', | 'group' : 'root', | ||||
}, | }, | ||||
'ScientificLinux': { | |||||
'pkg' : 'logrotate', | |||||
'service' : 'crond', | |||||
'conf_file' : '/etc/logrotate.conf', | |||||
'include_dir' : '/etc/logrotate.d', | |||||
'user' : 'root', | |||||
'group' : 'root', | |||||
}, | |||||
'Arch': { | 'Arch': { | ||||
'pkg' : 'logrotate', | 'pkg' : 'logrotate', | ||||
'service' : 'logrotate.timer', | 'service' : 'logrotate.timer', |