From: Peter Palfrader Date: Fri, 1 Jun 2018 09:11:27 +0000 (+0200) Subject: add template X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=fcdef8275ddeaaf28a3380f025e386a4977ae592 add template --- diff --git a/modules/nagios/templates/icinga-apache2.conf.erb b/modules/nagios/templates/icinga-apache2.conf.erb new file mode 100644 index 000000000..f322b019f --- /dev/null +++ b/modules/nagios/templates/icinga-apache2.conf.erb @@ -0,0 +1,35 @@ +# apache configuration for icinga + +ScriptAlias /cgi-bin/icinga /usr/lib/cgi-bin/icinga + +# Where the stylesheets (config files) reside +Alias /icinga/stylesheets /etc/icinga/stylesheets + +# Where the HTML pages live +Alias /icinga /usr/share/icinga/htdocs + + + + Options FollowSymLinks + + DirectoryIndex index.html + + AllowOverride AuthConfig + Order Allow,Deny + Allow From All + + AuthName "Nagios Access" + AuthType Basic + AuthBasicProvider file anon + AuthUserFile /srv/nagios.debian.org/htpasswd + + Anonymous_MustGiveEmail off + Anonymous_LogEmail off + Anonymous dsa-guest + + require valid-user + + + + Options FollowSymLinks MultiViews +