From: Tollef Fog Heen Date: Mon, 22 Apr 2013 21:09:54 +0000 (+0200) Subject: Try with sh -c instead of () to make puppet DTRT X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=a12c4008b7390efd732bea998b656499012b4380;p=mirror%2Fdsa-puppet.git Try with sh -c instead of () to make puppet DTRT --- diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 40a1eb353..af4ea466e 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -18,7 +18,7 @@ class bacula::client inherits bacula { exec { 'bacula-fd restart-when-idle': path => '/usr/bin:/usr/sbin:/bin:/sbin', - command => '(setsid /usr/local/sbin/bacula-idle-restart fd &)', + command => 'sh -c "setsid /usr/local/sbin/bacula-idle-restart fd &"', refreshonly => true, subscribe => File['/etc/ssl/debian/certs/thishost.crt'], require => File['/usr/local/sbin/bacula-idle-restart'],