aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-04-29 11:15:29 -0700
committerDan Fandrich <danf@mageia.org>2024-04-29 11:15:29 -0700
commitdb6069fc4721d075ee59d2ccfb5a1656e378efd8 (patch)
tree0422967350e52a3771db9421f49eb03db9de15e8 /modules
parent5ad47289df0685a12c8077ef83b423265e095032 (diff)
downloadpuppet-db6069fc4721d075ee59d2ccfb5a1656e378efd8.tar
puppet-db6069fc4721d075ee59d2ccfb5a1656e378efd8.tar.gz
puppet-db6069fc4721d075ee59d2ccfb5a1656e378efd8.tar.bz2
puppet-db6069fc4721d075ee59d2ccfb5a1656e378efd8.tar.xz
puppet-db6069fc4721d075ee59d2ccfb5a1656e378efd8.zip
Enable https on maintdb.mageia.org
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/maintdb.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/maintdb.pp b/modules/buildsystem/manifests/maintdb.pp
index 74f8e28c..5a961b63 100644
--- a/modules/buildsystem/manifests/maintdb.pp
+++ b/modules/buildsystem/manifests/maintdb.pp
@@ -48,4 +48,11 @@ class buildsystem::maintdb {
location => $buildsystem::var::maintdb::dbdir,
content => template('buildsystem/maintdb/vhost_maintdb.conf'),
}
+
+ apache::vhost::base { "ssl_${buildsystem::var::maintdb::hostname}":
+ use_ssl => true,
+ vhost => $buildsystem::var::maintdb::hostname,
+ location => $buildsystem::var::maintdb::dbdir,
+ content => template('buildsystem/maintdb/vhost_maintdb.conf'),
+ }
}