From 2d39798fbb53b826e893070b73965ecd3fcdb07e Mon Sep 17 00:00:00 2001 From: Carlo Vollebregt Date: Fri, 20 Nov 2015 12:33:16 +0100 Subject: [PATCH] Added installation support for mod_pagespeed on RedHat: cache and log dir are already created after installation of the mod_pagespeed RPM --- apache/mod_pagespeed.sls | 2 -- 1 file changed, 2 deletions(-) diff --git a/apache/mod_pagespeed.sls b/apache/mod_pagespeed.sls index 4d76a1f..1b7717c 100644 --- a/apache/mod_pagespeed.sls +++ b/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: