diff options
author | mh <mh@immerda.ch> | 2012-04-10 14:57:32 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-04-10 14:57:32 +0200 |
commit | f06092dda9280b373f7a55dd11b650c729059151 (patch) | |
tree | 44de4b06a7c695249a647cc71d515031568cf627 /manifests/client/openbsd.pp | |
parent | f2a0d2623b36e6105f31e51d99cbd349adaa30d7 (diff) | |
parent | c49190c6c6cae7c7f854920667717dad2e3adb27 (diff) |
merge from github
Diffstat (limited to 'manifests/client/openbsd.pp')
-rw-r--r-- | manifests/client/openbsd.pp | 6 |
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' }, |