diff options
author | Michael Scherer <misc@mageia.org> | 2011-05-19 17:11:43 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-05-19 17:11:43 +0000 |
commit | a70e77a02f996e5c02f2a87af0d605298d23696d (patch) | |
tree | af4ebb537b966b550e3f7c8f4256b3b1c04375ee /modules/mga-mirrors/manifests | |
parent | 93ebb03b2e25d2c277b886d7f3156d3bed720222 (diff) | |
download | puppet-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
Diffstat (limited to 'modules/mga-mirrors/manifests')
-rw-r--r-- | modules/mga-mirrors/manifests/init.pp | 9 |
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': |