diff manifests/templates.pp @ 145:88f38ef7359f puppet-3.6

Add BDStrike domains
author IBBoard <dev@ibboard.co.uk>
date Sat, 25 Mar 2017 12:05:36 +0000
parents dae1088dd218
children 816e35f86a5d
line wrap: on
line diff
--- a/manifests/templates.pp	Sat Mar 25 12:05:23 2017 +0000
+++ b/manifests/templates.pp	Sat Mar 25 12:05:36 2017 +0000
@@ -473,6 +473,7 @@
 	}
 	include hiveworldterrasite
 	include glittergothsite
+	include bdstrikesite
 	include devsite
 	website::https::multitld { 'www.abiknight':
 		custom_fragment => "$website::htmlphpfragment
@@ -545,7 +546,26 @@
 		separate_log => true,
 	}
 }
-
+class bdstrikesite {
+	website::https::multitld { 'www.bdstrike': 
+		docroot_owner => $defaultusers::secondary_user,
+		docroot_group => 'editors',
+	}
+	website::https::multitldredir { 'www.strikecreations.co.uk':
+		main_domain => 'bdstrike.co.uk',
+		docroot => "${website::basedir}/bdstrike",
+		docroot_owner => $defaultusers::secondary_user,
+		docroot_group => 'editors',
+#		separate_log => true,
+	}
+	website::https::multitldredir { 'www.strikecreations.com':
+		main_domain => 'bdstrike.co.uk',
+		docroot => "${website::basedir}/bdstrike",
+		docroot_owner => $defaultusers::secondary_user,
+		docroot_group => 'editors',
+#		separate_log => true,
+	}
+}
 class devsite {
 	apache::mod {
 		# mod_wsgi for Python support