|
|
|
|
|
|
|
|
- pkg: libapache2-mod-pagespeed |
|
|
- pkg: libapache2-mod-pagespeed |
|
|
- watch_in: |
|
|
- watch_in: |
|
|
- service: apache |
|
|
- service: apache |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% for dir in ['/var/cache/mod_pagespeed', '/var/log/pagespeed'] %} |
|
|
{% for dir in ['/var/cache/mod_pagespeed', '/var/log/pagespeed'] %} |
|
|
{{ dir }}: |
|
|
{{ dir }}: |
|
|
|
|
|
|
|
|
- group: {{ salt['pillar.get']('apache:group', 'www-data') }} |
|
|
- group: {{ salt['pillar.get']('apache:group', 'www-data') }} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
{% if grains['os_family']=="Debian" %} |
|
|
|
|
|
# Here we hardcode a logrotate entry to take care of the logs |
|
|
# Here we hardcode a logrotate entry to take care of the logs |
|
|
/etc/logrorate.d/pagespeed: |
|
|
/etc/logrorate.d/pagespeed: |
|
|
file: |
|
|
file: |