From a12c4008b7390efd732bea998b656499012b4380 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Mon, 22 Apr 2013 23:09:54 +0200 Subject: [PATCH] Try with sh -c instead of () to make puppet DTRT --- modules/bacula/manifests/client.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], -- 2.20.1