diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-06-05 12:52:47 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-06-05 12:52:47 +0000 |
commit | bba52c4fdaadd488581cdc10cb37f50f716e329c (patch) | |
tree | d9b681440ba4fbcf03abddd46fd3b0525486112a /modules/mga-treasurer/manifests | |
parent | fd14f7063cf6158ecb0443d1d087d9a9cc34783d (diff) | |
download | puppet-bba52c4fdaadd488581cdc10cb37f50f716e329c.tar puppet-bba52c4fdaadd488581cdc10cb37f50f716e329c.tar.gz puppet-bba52c4fdaadd488581cdc10cb37f50f716e329c.tar.bz2 puppet-bba52c4fdaadd488581cdc10cb37f50f716e329c.tar.xz puppet-bba52c4fdaadd488581cdc10cb37f50f716e329c.zip |
Add SSL vhost for treasurer.mageia.org
Diffstat (limited to 'modules/mga-treasurer/manifests')
-rw-r--r-- | modules/mga-treasurer/manifests/init.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/mga-treasurer/manifests/init.pp b/modules/mga-treasurer/manifests/init.pp index f9f79915..1759aed0 100644 --- a/modules/mga-treasurer/manifests/init.pp +++ b/modules/mga-treasurer/manifests/init.pp @@ -53,6 +53,17 @@ class mga-treasurer( require => File[$vhostdir], } + apache::vhost::base { "ssl_$vhost": + use_ssl => true, + location => $vhostdir, + aliases => { + "/${grisbi_filename}" => $grisbi_path, + "/static" => '/usr/share/mga-treasurer/static', + }, + content => template('mga-treasurer/vhost_mga-treasurer.conf'), + require => File[$vhostdir], + } + file { $update_script: ensure => present, owner => root, |