aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/timezone/manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/timezone/manifests/init.pp b/modules/timezone/manifests/init.pp
new file mode 100644
index 00000000..9d7cde28
--- /dev/null
+++ b/modules/timezone/manifests/init.pp
@@ -0,0 +1,6 @@
+define timezone( $tz = "GMT" ) {
+ file { "/etc/localetime":
+ ensure => link,
+ target => "/usr/share/zoneinfo/$tz"
+ }
+}