aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-17 11:25:50 +0000
committerMichael Scherer <misc@mageia.org>2012-03-17 11:25:50 +0000
commitce02557eb0dc7d81621d576d94878c5cba267b18 (patch)
treed299df18028dc3fc59645bb6f81a5f057742a07d
parent0b33f4ab9d6e92db8919f631e86af9b454977ff8 (diff)
downloadpuppet-ce02557eb0dc7d81621d576d94878c5cba267b18.tar
puppet-ce02557eb0dc7d81621d576d94878c5cba267b18.tar.gz
puppet-ce02557eb0dc7d81621d576d94878c5cba267b18.tar.bz2
puppet-ce02557eb0dc7d81621d576d94878c5cba267b18.tar.xz
puppet-ce02557eb0dc7d81621d576d94878c5cba267b18.zip
fix variable lookup, and do not hardcode mageia.org domain
-rw-r--r--modules/bcd/templates/vhost_bcd.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bcd/templates/vhost_bcd.conf b/modules/bcd/templates/vhost_bcd.conf
index d203da7a..536b09d5 100644
--- a/modules/bcd/templates/vhost_bcd.conf
+++ b/modules/bcd/templates/vhost_bcd.conf
@@ -1,8 +1,8 @@
<Directory <%= location %>>
- AuthUserFile <%= bcd_home %>/htpasswd
+ AuthUserFile <%= scope.lookupvar('bcd::home') %>/htpasswd
AuthGroupFile /dev/null
AuthName "QA test isos, restricted access"
- ErrorDocument 403 "For the password, please contact the QA team ( http://wiki.mageia.org/en/QA_Team )"
+ ErrorDocument 403 "For the password, please contact the QA team ( http://wiki.<%= domain %>/en/QA_Team )"
AuthType Basic
require valid-user