Browse Source

add Scientific Linux support

master
kramer 7 years ago
parent
commit
89c5fbaa92
2 changed files with 9 additions and 1 deletions
  1. +1
    -1
      README.rst
  2. +8
    -0
      logrotate/map.jinja

+ 1
- 1
README.rst View File

@@ -3,7 +3,7 @@ logrotate
Install and configure logrotate on a machine.

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::
See the full `Salt Formulas installation and usage instructions

+ 8
- 0
logrotate/map.jinja View File

@@ -7,6 +7,14 @@
'user' : 'root',
'group' : 'root',
},
'ScientificLinux': {
'pkg' : 'logrotate',
'service' : 'crond',
'conf_file' : '/etc/logrotate.conf',
'include_dir' : '/etc/logrotate.d',
'user' : 'root',
'group' : 'root',
},
'Arch': {
'pkg' : 'logrotate',
'service' : 'logrotate.timer',

Loading…
Cancel
Save