aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-12-22 16:17:24 +0000
committerPascal Terjan <pterjan@mageia.org>2017-12-22 16:17:24 +0000
commit21b498081fbbe2b7491211b6007ca57a0e16ec97 (patch)
treed0f0c3f05d696cd2d9d9263d787572b2439fe789 /modules
parentfd35913c829ff68a216c79860dcb29d20104e092 (diff)
downloadpuppet-21b498081fbbe2b7491211b6007ca57a0e16ec97.tar
puppet-21b498081fbbe2b7491211b6007ca57a0e16ec97.tar.gz
puppet-21b498081fbbe2b7491211b6007ca57a0e16ec97.tar.bz2
puppet-21b498081fbbe2b7491211b6007ca57a0e16ec97.tar.xz
puppet-21b498081fbbe2b7491211b6007ca57a0e16ec97.zip
Use same config for ssl and non ssl mirrors vhost (mga#20805)
Diffstat (limited to 'modules')
-rw-r--r--modules/mga-mirrors/manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp
index 536b4662..697019cb 100644
--- a/modules/mga-mirrors/manifests/init.pp
+++ b/modules/mga-mirrors/manifests/init.pp
@@ -13,12 +13,13 @@ class mga-mirrors {
}
}
- apache::vhost::base { "ssl_${vhost}":
+ apache::vhost::catalyst_app { "ssl_${vhost}":
+ script => '/usr/bin/mga_mirrors_fastcgi.pl',
+ require => Package['mga-mirrors'],
vhost => $vhost,
use_ssl => true,
aliases => {
'/status' => '/var/www/mirrors/status.html',
- '/' => '/usr/bin/mga_mirrors_fastcgi.pl/',
},
}