changeset 13:db4934b7ab12

Add Liz's site
author IBBoard <dev@ibboard.co.uk>
date Mon, 01 Dec 2014 20:27:57 +0000
parents 72466547cc79
children 534e584f21ce
files manifests/templates.pp
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Mon Dec 01 20:27:38 2014 +0000
+++ b/manifests/templates.pp	Mon Dec 01 20:27:57 2014 +0000
@@ -282,6 +282,19 @@
 		custom_fragment => template("private/apache/realmrunner.fragment"),
 	}
 	include webmailpimsite
+	website::http { 'lktutoring.co.uk':
+		docroot_owner      => $defaultusers::secondary_user,
+		docroot_group      => 'editors',
+		serveraliases      => [ 'www.lktutoring.co.uk', 'lktutoring.com', 'www.lktutoring.com' ],
+		ensure             => 'present',
+		custom_fragment    => 'Include conf.extra/no-index.conf
+Include conf.custom/filter-core.conf
+Include conf.extra/no-www.conf
+Include conf.extra/no-com.conf
+Include conf.extra/html-php.conf
+#Additional custom fragment
+ErrorDocument 404 /error.php',
+	}
 }
 
 class adminsite{