aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2023-12-21 01:03:37 -0800
committerDan Fandrich <dan@coneharvesters.com>2023-12-26 13:59:48 -0800
commit963199d3148da0d05d47a5b9aee93f713961e0aa (patch)
tree011c143a8098cb7ee4d627e338a09e61dfd79d1b
parentb853280c2814206bd5be89eed2192e5d1d3ac0ab (diff)
downloadpuppet-963199d3148da0d05d47a5b9aee93f713961e0aa.tar
puppet-963199d3148da0d05d47a5b9aee93f713961e0aa.tar.gz
puppet-963199d3148da0d05d47a5b9aee93f713961e0aa.tar.bz2
puppet-963199d3148da0d05d47a5b9aee93f713961e0aa.tar.xz
puppet-963199d3148da0d05d47a5b9aee93f713961e0aa.zip
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.
-rw-r--r--modules/apache/manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
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,