From b25eeda17d3c2e8de338f2905afebaf5f7c6cc12 Mon Sep 17 00:00:00 2001 From: Walter Heck Date: Sun, 19 Feb 2012 20:26:27 +0800 Subject: change unqualified variable names into scoped ones. --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index df085ea..1598623 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -48,7 +48,7 @@ class ntp($servers="UNSET", fail("autoupdate parameter must be true or false") } - case $operatingsystem { + case $::operatingsystem { debian, ubuntu: { $supported = true $pkg_name = [ "ntp" ] @@ -81,7 +81,7 @@ class ntp($servers="UNSET", default: { $supported = false notify { "${module_name}_unsupported": - message => "The ${module_name} module is not supported on ${operatingsystem}", + message => "The ${module_name} module is not supported on ${::operatingsystem}", } } } -- cgit v1.2.3