aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-04-19 15:25:36 -0700
committerDan Fandrich <danf@mageia.org>2024-04-19 15:25:36 -0700
commit02f1f8512a976629df335c2429d93a0cc84b57d3 (patch)
tree59b356d35938374ff1bed186242410bd8dfecb85
parent9f5663f5a7eaea824c844124e64a90ba1a977c38 (diff)
downloadpuppet-02f1f8512a976629df335c2429d93a0cc84b57d3.tar
puppet-02f1f8512a976629df335c2429d93a0cc84b57d3.tar.gz
puppet-02f1f8512a976629df335c2429d93a0cc84b57d3.tar.bz2
puppet-02f1f8512a976629df335c2429d93a0cc84b57d3.tar.xz
puppet-02f1f8512a976629df335c2429d93a0cc84b57d3.zip
Enable https on binrepo.mageia.org
-rw-r--r--modules/buildsystem/manifests/binrepo.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/binrepo.pp b/modules/buildsystem/manifests/binrepo.pp
index 7803e385..d87c41d9 100644
--- a/modules/buildsystem/manifests/binrepo.pp
+++ b/modules/buildsystem/manifests/binrepo.pp
@@ -32,4 +32,11 @@ class buildsystem::binrepo {
location => $buildsystem::var::binrepo::repodir,
content => template('buildsystem/binrepo/vhost_binrepo.conf'),
}
+
+ apache::vhost::base { "ssl_${buildsystem::var::binrepo::hostname}":
+ use_ssl => true,
+ vhost => buildsystem::var::binrepo::hostname,
+ location => $buildsystem::var::binrepo::repodir,
+ content => template('buildsystem/binrepo/vhost_binrepo.conf'),
+ }
}