From 21b498081fbbe2b7491211b6007ca57a0e16ec97 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Fri, 22 Dec 2017 16:17:24 +0000 Subject: Use same config for ssl and non ssl mirrors vhost (mga#20805) --- modules/mga-mirrors/manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/mga-mirrors') 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/', }, } -- cgit v1.2.1