diff --git a/README.rst b/README.rst index c1b29ef..93f9e5f 100644 --- a/README.rst +++ b/README.rst @@ -24,3 +24,10 @@ Installs the ``logrotate`` package and service/timer/cron. -------------------- Manages logrotate config and include dir. + +``logrotate.jobs`` +------------------ + +Create custom job for logrotate. + + diff --git a/pillar.example b/pillar.example index 7ff551d..cdec6e8 100644 --- a/pillar.example +++ b/pillar.example @@ -1,7 +1,8 @@ # vim: sts=2 ts=2 sw=2 et ai logrotate: - pkg: 'logrotate' - service: 'crond' + lookup: + pkg: 'logrotate' + service: 'crond' jobs: "/tmp/var/log/mysql/error": - "weekly"