changeset 267:edeedd13262c

Set a sensible default timezone for VPS
author IBBoard <dev@ibboard.co.uk>
date Sun, 29 Dec 2019 20:56:00 +0000
parents 298211899626
children 9f054191b9db
files manifests/templates.pp
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sun Dec 29 16:58:25 2019 +0000
+++ b/manifests/templates.pp	Sun Dec 29 20:56:00 2019 +0000
@@ -526,6 +526,12 @@
 		firewall_cmd => $firewall_cmd,
 	}
 
+	# Set timezone to something sensible
+	file { "/etc/localtime":
+		ensure => 'link',
+		target => '/usr/share/zoneinfo/Europe/London',
+	}
+
 	# Common modules used by multiple sites (mod_auth_basic is safe because we HTTPS all the things)
 	$mods = [ 'auth_basic',
 		'authn_file',