switch to the / dir
authormh <mh@immerda.ch>
Wed, 1 Oct 2008 20:51:19 +0000 (20:51 +0000)
committermh <mh@immerda.ch>
Wed, 1 Oct 2008 20:51:19 +0000 (20:51 +0000)
manifests/client.pp

index 35ffb23..4d8f0ba 100644 (file)
@@ -85,7 +85,7 @@ class munin::client::openbsd inherits munin::client::base {
         before => File['/var/run/munin'],
     }
     exec{'extract_openbsd':
-        command => 'tar xzf /usr/src/munin_openbsd.tar.gz',
+        command => 'cd /;tar xzf /usr/src/munin_openbsd.tar.gz',
         unless => 'test -d /opt/munin',
         require => File['/usr/src/munin_openbsd.tar.gz'],
     }