puppet: Use hiera variables in the icingaweb.conf template

refs #6842
This commit is contained in:
Eric Lippmann 2014-12-15 10:53:11 +01:00
parent 15d2414310
commit 33e25fd145
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
Alias /icingaweb /vagrant/public Alias /<%= @web_path %> /vagrant/public
<Directory "/vagrant/public/"> <Directory "/vagrant/public/">
Options FollowSymLinks Options FollowSymLinks
@ -6,12 +6,12 @@ Alias /icingaweb /vagrant/public
Order allow,deny Order allow,deny
Allow from all Allow from all
# SetEnv ICINGAWEB_CONFIGDIR /etc/icingaweb # SetEnv ICINGAWEB_CONFIGDIR <%= @config %>
EnableSendfile Off EnableSendfile Off
RewriteEngine on RewriteEngine on
RewriteBase /icingaweb/ RewriteBase /<%= @web_path %>/
RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME} -d