changeset 158:13f937ea8e3e puppet-3.6

Remove unused (and slightly confusing) class
author IBBoard <dev@ibboard.co.uk>
date Thu, 30 Mar 2017 21:00:21 +0100
parents c6b1b42f3e4b
children 37af6ee4d5ae
files modules/website/manifests/https/multitldredir.pp
diffstat 1 files changed, 0 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/https/multitldredir.pp	Thu Mar 30 20:41:18 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-define website::https::multitldredir (
-  $base         = $name,
-  $docroot      = undef,
-  $docroot_owner   = undef,
-  $docroot_group   = undef,
-  $ip              = undef,
-  $main_domain,
-  $ssl_ca_chain    = undef,
-  ) {
-  $alias = domain_to_short_domain($base)
-
-  if $base == $alias {
-    $redir_alias = []
-  } else {
-    $redir_alias = [ "${alias}" ]
-  }
-  website::https::redir { $base:
-    ip            => $ip,
-    docroot       => $docroot,
-    docroot_owner => $docroot_owner,
-    docroot_group => $docroot_group,
-    redir         => "https://${main_domain}/",
-    serveraliases => $redir_alias,
-    ssl_ca_chain  => $ssl_ca_chain,
-  }
-}