diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-07-25 22:06:02 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-07-25 22:06:02 +0000 |
commit | 134d9cb89e7db96d521e04705579f5bba82b88d2 (patch) | |
tree | 8fa2b93beb7b3c1c9c79945e1bf2dfa416e7bcc6 /modules/mgapeople/manifests/init.pp | |
parent | 8e14df6604b7fade549c4b9288a107b42afa1f1f (diff) | |
download | puppet-134d9cb89e7db96d521e04705579f5bba82b88d2.tar puppet-134d9cb89e7db96d521e04705579f5bba82b88d2.tar.gz puppet-134d9cb89e7db96d521e04705579f5bba82b88d2.tar.bz2 puppet-134d9cb89e7db96d521e04705579f5bba82b88d2.tar.xz puppet-134d9cb89e7db96d521e04705579f5bba82b88d2.zip |
mgapeople: add ssl vhost
Diffstat (limited to 'modules/mgapeople/manifests/init.pp')
-rw-r--r-- | modules/mgapeople/manifests/init.pp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/mgapeople/manifests/init.pp b/modules/mgapeople/manifests/init.pp index 736adb47..fe629bcd 100644 --- a/modules/mgapeople/manifests/init.pp +++ b/modules/mgapeople/manifests/init.pp @@ -51,12 +51,20 @@ class mgapeople( mode => '0755', } + $vhost_aliases = { + '/static' => '/usr/share/mgapeople/static', + }, apache::vhost::base { $vhost: location => $vhostdir, require => File[$vhostdir], - aliases => { - '/static' => '/usr/share/mgapeople/static', - }, + aliases => $vhost_aliases, + } + apache::vhost::base { "ssl_${vhost}": + vhost => $vhost, + use_ssl => true, + location => $vhostdir, + require => File[$vhostdir], + aliases => $vhost_aliases, } cron { '/usr/bin/mkpeople': |