]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Use sh -c for bacula-sd restart-when-idle too
authorTollef Fog Heen <tfheen@err.no>
Mon, 22 Apr 2013 21:13:02 +0000 (23:13 +0200)
committerTollef Fog Heen <tfheen@err.no>
Mon, 22 Apr 2013 21:13:02 +0000 (23:13 +0200)
modules/bacula/manifests/storage.pp

index 91aee4194e6f12fa03dfc2221ac3c923b860602b..09614309f1422f13410d58091c7776be2f093279 100644 (file)
@@ -12,7 +12,7 @@ class bacula::storage inherits bacula {
 
        exec { 'bacula-sd restart-when-idle':
                path        => '/usr/bin:/usr/sbin:/bin:/sbin',
-               command     => '(setsid /usr/local/sbin/bacula-idle-restart sd &)',
+               command     => 'sh -c "setsid /usr/local/sbin/bacula-idle-restart sd &"',
                refreshonly => true,
                subscribe   => File['/etc/ssl/debian/certs/thishost.crt'],
                require     => File['/usr/local/sbin/bacula-idle-restart'],