Merge pull request #24 from asenci/master
No need to reload the service on configuration change
This commit is contained in:
commit
ac00650755
3 changed files with 0 additions and 6 deletions
|
@ -13,7 +13,4 @@ logrotate_config:
|
||||||
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }}
|
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }}
|
||||||
- require:
|
- require:
|
||||||
- pkg: logrotate
|
- pkg: logrotate
|
||||||
- watch_in:
|
|
||||||
- service: {{ logrotate.service }}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ logrotate:
|
||||||
service.running:
|
service.running:
|
||||||
- name: {{ logrotate.service }}
|
- name: {{ logrotate.service }}
|
||||||
- enable: True
|
- enable: True
|
||||||
- reload: True
|
|
||||||
|
|
||||||
logrotate_directory:
|
logrotate_directory:
|
||||||
file.directory:
|
file.directory:
|
||||||
|
|
|
@ -16,8 +16,6 @@ logrotate_{{key}}:
|
||||||
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }}
|
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }}
|
||||||
- require:
|
- require:
|
||||||
- pkg: logrotate
|
- pkg: logrotate
|
||||||
- watch_in:
|
|
||||||
- service: {{ logrotate.service }}
|
|
||||||
- context:
|
- context:
|
||||||
{% if value is mapping %}
|
{% if value is mapping %}
|
||||||
path: {{ value.get('path', []) }}
|
path: {{ value.get('path', []) }}
|
||||||
|
|
Loading…
Reference in a new issue