aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-treasurer/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mga-treasurer/manifests')
-rw-r--r--modules/mga-treasurer/manifests/init.pp11
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,