fix(logs): don't change owners of logfiles with salt
The logs are created by apache or logrotate, but salt shouldn't change permissions of existing logfiles everytime it runs.
This commit is contained in:
parent
22b09abb4b
commit
382e053c58
@ -16,9 +16,6 @@ apache-config-file-directory-logdir:
|
|||||||
- name: {{ apache.logdir }}
|
- name: {{ apache.logdir }}
|
||||||
- user: {{ apache.user }}
|
- user: {{ apache.user }}
|
||||||
- group: {{ apache.group }}
|
- group: {{ apache.group }}
|
||||||
- recurse:
|
|
||||||
- user
|
|
||||||
- group
|
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
- require:
|
- require:
|
||||||
- sls: {{ sls_package_install }}
|
- sls: {{ sls_package_install }}
|
||||||
|
Loading…
Reference in New Issue
Block a user