|
|
@@ -3,7 +3,7 @@ |
|
|
|
include: |
|
|
|
- logrotate |
|
|
|
|
|
|
|
logrotate_config: |
|
|
|
logrotate-config: |
|
|
|
file.managed: |
|
|
|
- name: {{ logrotate.conf_file }} |
|
|
|
- source: salt://logrotate/files/{{ salt['grains.get']('os_family') }}/logrotate.conf |
|
|
@@ -12,7 +12,7 @@ logrotate_config: |
|
|
|
- group: {{ salt['pillar.get']('logrotate:config:group', logrotate.group) }} |
|
|
|
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }} |
|
|
|
|
|
|
|
logrotate_directory: |
|
|
|
logrotate-directory: |
|
|
|
file.directory: |
|
|
|
- name: {{ logrotate.include_dir }} |
|
|
|
- user: {{ salt['pillar.get']('logrotate:config:user', logrotate.user) }} |