changeset 331:f69e2d197302

Separate some certs to make migration easier LetsEncrypt requires all domains on the cert to be accessible when renewing. If some migrated and some didn't then it won't work. Separating sites gives us more options for moving sites
author IBBoard <dev@ibboard.co.uk>
date Sun, 08 Mar 2020 19:56:26 +0000
parents 0cccb75d7639
children 7198cc4397d8
files manifests/templates.pp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sun Mar 08 19:54:42 2020 +0000
+++ b/manifests/templates.pp	Sun Mar 08 19:56:26 2020 +0000
@@ -588,7 +588,7 @@
 	}
 	website::https::multitld { 'forums.hiveworldterra': 
 		proxy_4to6_ip => $proxy_4to6_ip,
-		letsencrypt_name => 'hiveworldterra.co.uk',
+		letsencrypt_name => 'forums.hiveworldterra.co.uk',
 		custom_fragment => template("privat/apache/forums.fragment"),
 	}
 	website::https::multitld { 'skins.hiveworldterra':
@@ -605,7 +605,7 @@
 	}
 }
 class bdstrikesite ($proxy_4to6_ip) {
-	website::https::multitld { 'www.bdstrike': 
+	website::https::multitld { 'www.bdstrike':
 		proxy_4to6_ip => $proxy_4to6_ip,
 		docroot_owner => $defaultusers::secondary_user,
 		docroot_group => 'editors',
@@ -630,7 +630,7 @@
 		docroot => "${website::basedir}/bdstrike",
 		docroot_owner => $defaultusers::secondary_user,
 		docroot_group => 'editors',
-		letsencrypt_name => 'bdstrike.co.uk',
+		letsencrypt_name => 'strikecreations.com',
 		separate_log => true,
 	}
 	cron { 'wordpress_cron':