Browse Source

Fix spaceing in RHEL logrotate.sls

pull/375/head
l00d3r 3 years ago
parent
commit
22c05d46c3
No account linked to committer's email address
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      apache/config/logrotate.sls

+ 7
- 7
apache/config/logrotate.sls View File

{%- if grains.os_family == "RedHat" %} {%- if grains.os_family == "RedHat" %}
- contents: | - contents: |
{{ apache.logdir }}/*log { {{ apache.logdir }}/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload {{ apache.service.name }} > /dev/null 2>/dev/null || true
endscript
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload {{ apache.service.name }} > /dev/null 2>/dev/null || true
endscript
} }
{% else %} {% else %}
- contents: | - contents: |

Loading…
Cancel
Save