diff options
author | Michael Scherer <misc@mageia.org> | 2010-10-26 19:52:34 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-10-26 19:52:34 +0000 |
commit | 0f48bcd6915de82275c9816563c665d5e8eda999 (patch) | |
tree | 7dd67f11a4d6e96d50c3843d7e40bd094d7145d1 /modules/timezone/manifests | |
parent | da873d792e8276ad09baed48b4ac832289f4bfa2 (diff) | |
download | puppet-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.pp | 4 |
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" } } |