From 0f48bcd6915de82275c9816563c665d5e8eda999 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 26 Oct 2010 19:52:34 +0000 Subject: - better function --- modules/timezone/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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" } } -- cgit v1.2.1