From 963199d3148da0d05d47a5b9aee93f713961e0aa Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 21 Dec 2023 01:03:37 -0800 Subject: Have vhost_simple create an https site, too This is only currently used by xymon, but it looks like it could be used to simplify a few other vhosts. --- modules/apache/manifests/init.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index c9e0bcb6..40779d4d 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -4,6 +4,11 @@ class apache { apache::vhost::base { $name: location => $location, } + apache::vhost::base { "ssl_${name}": + vhost => $name, + use_ssl => true, + location => $location, + } } define vhost_redirect($url, -- cgit v1.2.1