From 631bcac680ae670d9dfa14ca9f5dcd7fe627a9d6 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 26 Oct 2010 21:48:15 +0000 Subject: - better use a class than a define, as a class will be created only once --- modules/timezone/manifests/init.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/timezone') 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" } } -- cgit v1.2.1