aboutsummaryrefslogtreecommitdiffstats
path: root/modules/timezone
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-10-26 19:45:44 +0000
committerMichael Scherer <misc@mageia.org>2010-10-26 19:45:44 +0000
commitda873d792e8276ad09baed48b4ac832289f4bfa2 (patch)
tree6a6e98fb2656c6b7b72c34f69e9f39654dd85238 /modules/timezone
parentcb8fcf35395fbd8f1dc777d4d9b294141327c533 (diff)
downloadpuppet-da873d792e8276ad09baed48b4ac832289f4bfa2.tar
puppet-da873d792e8276ad09baed48b4ac832289f4bfa2.tar.gz
puppet-da873d792e8276ad09baed48b4ac832289f4bfa2.tar.bz2
puppet-da873d792e8276ad09baed48b4ac832289f4bfa2.tar.xz
puppet-da873d792e8276ad09baed48b4ac832289f4bfa2.zip
- add a timezone module
Diffstat (limited to 'modules/timezone')
-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"
+ }
+}