aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-05-19 17:11:43 +0000
committerMichael Scherer <misc@mageia.org>2011-05-19 17:11:43 +0000
commita70e77a02f996e5c02f2a87af0d605298d23696d (patch)
treeaf4ebb537b966b550e3f7c8f4256b3b1c04375ee
parent93ebb03b2e25d2c277b886d7f3156d3bed720222 (diff)
downloadpuppet-a70e77a02f996e5c02f2a87af0d605298d23696d.tar
puppet-a70e77a02f996e5c02f2a87af0d605298d23696d.tar.gz
puppet-a70e77a02f996e5c02f2a87af0d605298d23696d.tar.bz2
puppet-a70e77a02f996e5c02f2a87af0d605298d23696d.tar.xz
puppet-a70e77a02f996e5c02f2a87af0d605298d23696d.zip
declare the web application twice, one time as http and one time
as https
-rw-r--r--modules/mga-mirrors/manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
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':