Saltstack Official Logrotate Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
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