aboutsummaryrefslogtreecommitdiffstats
path: root/modules/timezone/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/timezone/manifests')
-rw-r--r--modules/timezone/manifests/init.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/timezone/manifests/init.pp b/modules/timezone/manifests/init.pp
index 5703b04f..0f33093a 100644
--- a/modules/timezone/manifests/init.pp
+++ b/modules/timezone/manifests/init.pp
@@ -1,6 +1,8 @@
class timezone {
- file { "/etc/localtime":
- ensure => "/usr/share/zoneinfo/$name"
+ define timezone() {
+ file { "/etc/localtime":
+ ensure => "/usr/share/zoneinfo/$name"
+ }
}
}