@@ -13,7 +13,4 @@ logrotate_config: | |||
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }} | |||
- require: | |||
- pkg: logrotate | |||
- watch_in: | |||
- service: {{ logrotate.service }} | |||
@@ -6,7 +6,6 @@ logrotate: | |||
service.running: | |||
- name: {{ logrotate.service }} | |||
- enable: True | |||
- reload: True | |||
logrotate_directory: | |||
file.directory: |
@@ -16,8 +16,6 @@ logrotate_{{key}}: | |||
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }} | |||
- require: | |||
- pkg: logrotate | |||
- watch_in: | |||
- service: {{ logrotate.service }} | |||
- context: | |||
{% if value is mapping %} | |||
path: {{ value.get('path', []) }} |