summaryrefslogtreecommitdiff
path: root/manifests/client/openbsd.pp
diff options
context:
space:
mode:
authorChristian G. Warden <cwarden@xerus.org>2012-02-02 18:10:14 -0800
committerChristian G. Warden <cwarden@xerus.org>2012-02-02 18:10:14 -0800
commite2dfae5852ecdf3695a6af8ec48092ea24698390 (patch)
treed655e7fbf5a12b2a622c83411b40397e512d01e1 /manifests/client/openbsd.pp
parentd8de9540534a3801c87278435934da3c88a69e4b (diff)
Fully qualify facter variables
Diffstat (limited to 'manifests/client/openbsd.pp')
-rw-r--r--manifests/client/openbsd.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/client/openbsd.pp b/manifests/client/openbsd.pp
index 7012c00..e1742d2 100644
--- a/manifests/client/openbsd.pp
+++ b/manifests/client/openbsd.pp
@@ -1,7 +1,7 @@
# currently we install munin on openbsd by targz
# :(
class munin::client::openbsd inherits munin::client::base {
- if $operatingsystemrelease == '4.3' {
+ if $::operatingsystemrelease == '4.3' {
file{'/usr/src/munin_openbsd.tar.gz':
source => "puppet:///modules/munin/openbsd/package/munin_openbsd.tar.gz",
owner => root, group => 0, mode => 0600;
@@ -32,7 +32,7 @@ class munin::client::openbsd inherits munin::client::base {
owner => root, group => 0, mode => 0755;
}
openbsd::rc_local{'munin-node':
- binary => $operatingsystemrelease ? {
+ binary => $::operatingsystemrelease ? {
'4.3' => '/opt/munin/sbin/munin-node',
default => '/usr/local/sbin/munin-node'
},
@@ -41,7 +41,7 @@ class munin::client::openbsd inherits munin::client::base {
Service['munin-node']{
restart => '/bin/kill -HUP `/bin/cat /var/run/munin/munin-node.pid`',
stop => '/bin/kill `/bin/cat /var/run/munin/munin-node.pid`',
- start => $operatingsystemrelease ? {
+ start => $::operatingsystemrelease ? {
'4.3' => '/opt/munin/sbin/munin-node',
default => '/usr/local/sbin/munin-node'
},