From 89c5fbaa9260740468ba3e65329f189ab26974e3 Mon Sep 17 00:00:00 2001 From: kramer Date: Wed, 8 Feb 2017 16:57:08 -0600 Subject: [PATCH] add Scientific Linux support --- README.rst | 2 +- logrotate/map.jinja | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 93f9e5f..cf81661 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/logrotate/map.jinja b/logrotate/map.jinja index 912fd87..898c06b 100644 --- a/logrotate/map.jinja +++ b/logrotate/map.jinja @@ -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',