summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Heck <walter@tribily.com>2012-02-19 20:26:27 +0800
committerWalter Heck <walter@tribily.com>2012-02-19 20:26:27 +0800
commitb25eeda17d3c2e8de338f2905afebaf5f7c6cc12 (patch)
tree6fce51ea8352f7e4731a1906a9be623b66948819
parent165dfc4558a5aab84d233c4f2a4637b59ed5591d (diff)
change unqualified variable names into scoped ones.
-rw-r--r--manifests/init.pp4
1 files 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}",
}
}
}