aboutsummaryrefslogtreecommitdiffstats
path: root/modules/timezone
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 22:02:45 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 22:02:45 +0000
commitcffcb2fc81835a3334b3e1edb93f7c173591aec7 (patch)
treec75f2bd2232206cdec92b9ba80dc5faade185abd /modules/timezone
parent31d7c82f9f4f793ddd0c6fc8279dbf36840a4659 (diff)
downloadpuppet-cffcb2fc81835a3334b3e1edb93f7c173591aec7.tar
puppet-cffcb2fc81835a3334b3e1edb93f7c173591aec7.tar.gz
puppet-cffcb2fc81835a3334b3e1edb93f7c173591aec7.tar.bz2
puppet-cffcb2fc81835a3334b3e1edb93f7c173591aec7.tar.xz
puppet-cffcb2fc81835a3334b3e1edb93f7c173591aec7.zip
make module puppet-lint compliant
Diffstat (limited to 'modules/timezone')
-rw-r--r--modules/timezone/manifests/init.pp9
-rw-r--r--modules/timezone/manifests/timezone.pp6
2 files changed, 7 insertions, 8 deletions
diff --git a/modules/timezone/manifests/init.pp b/modules/timezone/manifests/init.pp
index 0f33093a..67682f49 100644
--- a/modules/timezone/manifests/init.pp
+++ b/modules/timezone/manifests/init.pp
@@ -1,8 +1 @@
-
-class timezone {
- define timezone() {
- file { "/etc/localtime":
- ensure => "/usr/share/zoneinfo/$name"
- }
- }
-}
+class timezone {}
diff --git a/modules/timezone/manifests/timezone.pp b/modules/timezone/manifests/timezone.pp
new file mode 100644
index 00000000..04abfb73
--- /dev/null
+++ b/modules/timezone/manifests/timezone.pp
@@ -0,0 +1,6 @@
+define timezone::timezone() {
+ file { '/etc/localtime':
+ ensure => link,
+ target => "/usr/share/zoneinfo/$name"
+ }
+}