1
0
Fork 0
mirror of synced 2024-11-17 22:45:34 -05:00
formula-logrotate/logrotate/service.sls

18 lines
348 B
Text
Raw Permalink Normal View History

# -*- 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
- file: logrotate-config
- file: logrotate-directory