Make sure munin-cgi-graph uses rrdcached
[chef.git] / cookbooks / munin / templates / default / apache.erb
index ecb4b4df4ee41b94e7496c701c6a962a73fc94b7..141d2a50f50c58e09fb7ed464c80ad47ef190f8e 100644 (file)
@@ -8,8 +8,10 @@
        CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined
        ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log
 
+       SetEnv RRDCACHED_ADDRESS /var/run/rrdcached.sock
+
        DocumentRoot /srv/munin.openstreetmap.org
-        Alias /static/favicon.ico /srv/munin.openstreetmap.org/favicon.ico
+       Alias /static/favicon.ico /srv/munin.openstreetmap.org/favicon.ico
        Alias /static/ /etc/munin/static/
        ScriptAlias /munin-cgi/ /usr/lib/munin/cgi/