aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-05-19 10:09:32 +0000
committerNicolas Vigier <boklm@mageia.org>2011-05-19 10:09:32 +0000
commit974d36d7e15b5f2c528d0325f85ac63380aa8a6b (patch)
tree51143e2a7768c5ba1c8a6172a7c3e71da9ba98d0 /modules/mga-mirrors
parentfa46023d659f122f948164b8d678eea765e3cec0 (diff)
downloadpuppet-974d36d7e15b5f2c528d0325f85ac63380aa8a6b.tar
puppet-974d36d7e15b5f2c528d0325f85ac63380aa8a6b.tar.gz
puppet-974d36d7e15b5f2c528d0325f85ac63380aa8a6b.tar.bz2
puppet-974d36d7e15b5f2c528d0325f85ac63380aa8a6b.tar.xz
puppet-974d36d7e15b5f2c528d0325f85ac63380aa8a6b.zip
add ssl on mirrors.mageia.org
Diffstat (limited to 'modules/mga-mirrors')
-rw-r--r--modules/mga-mirrors/manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp
index 2532f56a..354df033 100644
--- a/modules/mga-mirrors/manifests/init.pp
+++ b/modules/mga-mirrors/manifests/init.pp
@@ -11,6 +11,13 @@ class mga-mirrors {
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':