summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 86babaa..dcec13e 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -96,7 +96,7 @@ class munin::client::openbsd inherits munin::client::base {
}
exec{'enable_munin_on_boot':
command => 'echo "if [ -x /opt/munin/sbin/munin-node ]; then echo -n \' munin\'; /opt/munin/sbin/munin-node; fi" >> /etc/rc.local',
- unless => 'grep -q "if [ -x /opt/munin/sbin/munin-node ]; then echo -n \' munin\'; /opt/munin/sbin/munin-node; fi" /etc/rc.local',
+ unless => 'grep -q "munin-node" /etc/rc.local',
require => File['/var/run/munin'],
}
Service['munin-node']{