diff options
author | Christian G. Warden <cwarden@xerus.org> | 2012-02-02 18:10:14 -0800 |
---|---|---|
committer | Christian G. Warden <cwarden@xerus.org> | 2012-02-02 18:10:14 -0800 |
commit | e2dfae5852ecdf3695a6af8ec48092ea24698390 (patch) | |
tree | d655e7fbf5a12b2a622c83411b40397e512d01e1 /manifests/plugin/scriptpaths.pp | |
parent | d8de9540534a3801c87278435934da3c88a69e4b (diff) |
Fully qualify facter variables
Diffstat (limited to 'manifests/plugin/scriptpaths.pp')
-rw-r--r-- | manifests/plugin/scriptpaths.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/plugin/scriptpaths.pp b/manifests/plugin/scriptpaths.pp index 164a17e..f4bd39b 100644 --- a/manifests/plugin/scriptpaths.pp +++ b/manifests/plugin/scriptpaths.pp @@ -1,9 +1,9 @@ class munin::plugin::scriptpaths { - case $operatingsystem { + case $::operatingsystem { gentoo: { $script_path = "/usr/libexec/munin/plugins" } debian: { $script_path = "/usr/share/munin/plugins" } centos: { $script_path = "/usr/share/munin/plugins" } - openbsd: { $script_path = $operatingsystemrelease ? { + openbsd: { $script_path = $::operatingsystemrelease ? { '4.3' => '/opt/munin/lib/plugins/', default => '/usr/local/libexec/munin/plugins/' } } |