1
0
Fork 0
mirror of synced 2024-12-22 14:11:08 -05:00
formula-logrotate/logrotate/service.sls

18 lines
348 B
Text
Raw 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