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.

21 lines
444B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. logrotate:
  5. bin: /usr/sbin/logrotate
  6. status_dir: /var/lib/logrotate
  7. pkg: logrotate
  8. conf_file: '/etc/logrotate.conf'
  9. include_dir: '/etc/logrotate.d'
  10. hourly_conf_file: '/etc/logrotate.hourly.conf'
  11. hourly_include_dir: '/etc/logrotate.hourly.d'
  12. user: root
  13. group: root
  14. service: cron
  15. login_records_jobs: true
  16. default_config:
  17. weekly: true
  18. rotate: 4
  19. create: true
  20. jobs: {}