aboutsummaryrefslogtreecommitdiffstats
path: root/modules/timezone
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-10-27 15:51:23 +0000
committerMichael Scherer <misc@mageia.org>2010-10-27 15:51:23 +0000
commit18f0f9231535d8d8d164432bdc3b6f7902d69303 (patch)
tree018d4ed4ba9bf6a1a1cb84233db5f060b815e8ff /modules/timezone
parent76389d9559581277ab2b3c58f357f07e7adfdeba (diff)
downloadpuppet-18f0f9231535d8d8d164432bdc3b6f7902d69303.tar
puppet-18f0f9231535d8d8d164432bdc3b6f7902d69303.tar.gz
puppet-18f0f9231535d8d8d164432bdc3b6f7902d69303.tar.bz2
puppet-18f0f9231535d8d8d164432bdc3b6f7902d69303.tar.xz
puppet-18f0f9231535d8d8d164432bdc3b6f7902d69303.zip
- correctly manage timezone on server
Diffstat (limited to 'modules/timezone')
-rw-r--r--modules/timezone/manifests/init.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/timezone/manifests/init.pp b/modules/timezone/manifests/init.pp
index 5703b04f..0f33093a 100644
--- a/modules/timezone/manifests/init.pp
+++ b/modules/timezone/manifests/init.pp
@@ -1,6 +1,8 @@
class timezone {
- file { "/etc/localtime":
- ensure => "/usr/share/zoneinfo/$name"
+ define timezone() {
+ file { "/etc/localtime":
+ ensure => "/usr/share/zoneinfo/$name"
+ }
}
}