2017-02-14 06:50:32 -05:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim: ft=sls
|
|
|
|
|
|
|
|
{% from "logrotate/map.jinja" import logrotate with context %}
|
|
|
|
|
|
|
|
include:
|
|
|
|
- logrotate.config
|
|
|
|
- logrotate.install
|
|
|
|
|
|
|
|
logrotate:
|
|
|
|
service.running:
|
|
|
|
- name: {{ logrotate.service }}
|
|
|
|
- enable: True
|
|
|
|
- require:
|
|
|
|
- pkg: logrotate-pkg
|
2017-02-14 06:52:25 -05:00
|
|
|
- file: logrotate-config
|
|
|
|
- file: logrotate-directory
|