diff options
author | mh <mh@immerda.ch> | 2008-10-01 20:48:49 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-10-01 20:48:49 +0000 |
commit | b60f432b6a09d1cb29e65f2ebef4f8564abe6b70 (patch) | |
tree | eb61335cf854a3598cf6f9f7bf555cf8b1ed01a9 /manifests/client.pp | |
parent | 1e8273a21b504a18ad8066ba6c5b625473ba8b52 (diff) |
reorder dependecies
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 39119d3..35ffb23 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -88,16 +88,15 @@ class munin::client::openbsd inherits munin::client::base { command => 'tar xzf /usr/src/munin_openbsd.tar.gz', unless => 'test -d /opt/munin', require => File['/usr/src/munin_openbsd.tar.gz'], - before => File['/var/run/munin'], } file{'/var/run/munin': ensure => directory, - require => File['/usr/src/munin_openbsd.tar.gz'], + require => Exec['extract_openbsd'], owner => root, group => 0, mode => 0755; } 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 "if [ -x /opt/munin/sbin/munin-node ]; then echo -n \' munin\'; /opt/munin/sbin/munin-node; fi" /etc/rc.local', require => File['/var/run/munin'], } Service['munin-node']{ |