Adding munin install and configuration to the playbook and package builds

This commit is contained in:
Matthew Jones
2014-07-21 13:45:26 -04:00
parent cdb711dc61
commit 1620494584
4 changed files with 43 additions and 1 deletions

View File

@@ -41,4 +41,5 @@ WSGISocketPrefix /var/run/wsgi
</IfVersion>
</Directory>
Include conf.d/awx-munin.conf
</VirtualHost>

5
config/awx-munin-el.conf Normal file
View File

@@ -0,0 +1,5 @@
Alias /munin /var/www/html/munin/
<Directory /var/www/html/munin/>
Order Allow,Deny
Allow from all
</Directory>

View File

@@ -0,0 +1,33 @@
Alias /munin /var/cache/munin/www
<Directory /var/cache/munin/www>
Order allow,deny
Allow from all
Options FollowSymLinks
# This file can be used as a .htaccess file, or a part of your apache
# config file.
#
# For the .htaccess file option to work the munin www directory
# (/var/cache/munin/www) must have "AllowOverride all" or something
# close to that set.
#
# AuthUserFile /etc/munin/munin-htpasswd
# AuthName "Munin"
# AuthType Basic
# require valid-user
# This next part requires mod_expires to be enabled.
#
# Set the default expiration time for files to 5 minutes 10 seconds from
# their creation (modification) time. There are probably new files by
# that time.
#
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault M310
</IfModule>
</Directory>