aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2014-04-04 11:46:45 +0000
committerPascal Terjan <pterjan@mageia.org>2014-04-04 11:46:45 +0000
commit21af2f933a3472a44ed1a8c1082c4e68f530ec5b (patch)
tree45bf916907845ba31eb9fe4c599a9b6071e5a1df /modules/mga-mirrors
parent61706b9928c2e306cc8064cb0873b1060087495e (diff)
downloadpuppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.tar
puppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.tar.gz
puppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.tar.bz2
puppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.tar.xz
puppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.zip
Attempt to support alias in catalyst_app
Diffstat (limited to 'modules/mga-mirrors')
-rw-r--r--modules/mga-mirrors/manifests/init.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp
index b29c6fcb..cd1b57ef 100644
--- a/modules/mga-mirrors/manifests/init.pp
+++ b/modules/mga-mirrors/manifests/init.pp
@@ -7,6 +7,9 @@ class mga-mirrors {
apache::vhost::catalyst_app { $vhost:
script => '/usr/bin/mga_mirrors_fastcgi.pl',
require => Package['mga-mirrors'],
+ aliases => {
+ '/status' => '/var/www/mirrors/status.html',
+ }
}
apache::vhost::base { "ssl_$vhost":