diff options
author | Michael Scherer <misc@mageia.org> | 2010-10-26 21:48:15 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-10-26 21:48:15 +0000 |
commit | 631bcac680ae670d9dfa14ca9f5dcd7fe627a9d6 (patch) | |
tree | d5bf85590408472f7150bba376f83f7a3069956c | |
parent | 0f48bcd6915de82275c9816563c665d5e8eda999 (diff) | |
download | puppet-631bcac680ae670d9dfa14ca9f5dcd7fe627a9d6.tar puppet-631bcac680ae670d9dfa14ca9f5dcd7fe627a9d6.tar.gz puppet-631bcac680ae670d9dfa14ca9f5dcd7fe627a9d6.tar.bz2 puppet-631bcac680ae670d9dfa14ca9f5dcd7fe627a9d6.tar.xz puppet-631bcac680ae670d9dfa14ca9f5dcd7fe627a9d6.zip |
- better use a class than a define, as a class will be created only once
-rw-r--r-- | modules/timezone/manifests/init.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/timezone/manifests/init.pp b/modules/timezone/manifests/init.pp index 737005d9..baba139a 100644 --- a/modules/timezone/manifests/init.pp +++ b/modules/timezone/manifests/init.pp @@ -1,6 +1,6 @@ -define timezone() { + +class timezone { file { "/etc/localetime": - ensure => link, - target => "/usr/share/zoneinfo/$name" + ensure => "/usr/share/zoneinfo/$name" } } |