Saltstack Official Logrotate Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 line
348B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=sls
  3. {% from "logrotate/map.jinja" import logrotate with context %}
  4. include:
  5. - logrotate.config
  6. - logrotate.install
  7. logrotate:
  8. service.running:
  9. - name: {{ logrotate.service }}
  10. - enable: True
  11. - require:
  12. - pkg: logrotate-pkg
  13. - file: logrotate-config
  14. - file: logrotate-directory