aboutsummaryrefslogtreecommitdiffstats
path: root/modules/timezone/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-10-26 19:52:34 +0000
committerMichael Scherer <misc@mageia.org>2010-10-26 19:52:34 +0000
commit0f48bcd6915de82275c9816563c665d5e8eda999 (patch)
tree7dd67f11a4d6e96d50c3843d7e40bd094d7145d1 /modules/timezone/manifests
parentda873d792e8276ad09baed48b4ac832289f4bfa2 (diff)
downloadpuppet-0f48bcd6915de82275c9816563c665d5e8eda999.tar
puppet-0f48bcd6915de82275c9816563c665d5e8eda999.tar.gz
puppet-0f48bcd6915de82275c9816563c665d5e8eda999.tar.bz2
puppet-0f48bcd6915de82275c9816563c665d5e8eda999.tar.xz
puppet-0f48bcd6915de82275c9816563c665d5e8eda999.zip
- better function
Diffstat (limited to 'modules/timezone/manifests')
-rw-r--r--modules/timezone/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/timezone/manifests/init.pp b/modules/timezone/manifests/init.pp
index 9d7cde28..737005d9 100644
--- a/modules/timezone/manifests/init.pp
+++ b/modules/timezone/manifests/init.pp
@@ -1,6 +1,6 @@
-define timezone( $tz = "GMT" ) {
+define timezone() {
file { "/etc/localetime":
ensure => link,
- target => "/usr/share/zoneinfo/$tz"
+ target => "/usr/share/zoneinfo/$name"
}
}