浏览代码

Added installation support for mod_pagespeed on RedHat: cache and log dir are already created after installation of the mod_pagespeed RPM

master
Carlo Vollebregt 9 年前
父节点
当前提交
2d39798fbb
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. +0
    -2
      apache/mod_pagespeed.sls

+ 0
- 2
apache/mod_pagespeed.sls 查看文件

@@ -18,7 +18,6 @@ a2enmod pagespeed:
- pkg: libapache2-mod-pagespeed
- watch_in:
- service: apache
{% endif %}

{% for dir in ['/var/cache/mod_pagespeed', '/var/log/pagespeed'] %}
{{ dir }}:
@@ -33,7 +32,6 @@ a2enmod pagespeed:
- group: {{ salt['pillar.get']('apache:group', 'www-data') }}
{% endfor %}

{% if grains['os_family']=="Debian" %}
# Here we hardcode a logrotate entry to take care of the logs
/etc/logrorate.d/pagespeed:
file:

正在加载...
取消
保存