From a70e77a02f996e5c02f2a87af0d605298d23696d Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 19 May 2011 17:11:43 +0000 Subject: declare the web application twice, one time as http and one time as https --- modules/mga-mirrors/manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp index 2b6a9f1d..5b1633ee 100644 --- a/modules/mga-mirrors/manifests/init.pp +++ b/modules/mga-mirrors/manifests/init.pp @@ -7,10 +7,19 @@ class mga-mirrors { } apache::vhost_catalyst_app { $vhost: + vhost => $vhost, script => "/usr/bin/mga_mirrors_fastcgi.pl", require => Package['mga-mirrors'], } + apache::vhost_catalyst_app { "ssl_$vhost": + vhost => $vhost, + use_ssl => true, + script => "/usr/bin/mga_mirrors_fastcgi.pl", + require => Package['mga-mirrors'], + } + + $pgsql_password = extlookup("mga_mirror_pgsql",'x') postgresql::remote_db_and_user { 'mirrors': -- cgit v1.2.1