From 0b8915914f4c7151c900b746a367824dc0483179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Mon, 8 Jul 2013 09:43:35 +0300 Subject: [PATCH] bacula: Run catalog dump directly and not through shell. --- bacula/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/manifests/init.pp b/bacula/manifests/init.pp index f4d8ea4..ac7aef8 100644 --- a/bacula/manifests/init.pp +++ b/bacula/manifests/init.pp @@ -250,7 +250,7 @@ class bacula::director($password=undef, options => [ "Level = Full", "FileSet = Catalog", - 'RunBeforeJob = "sh -c /usr/local/sbin/bacula_catalog_dump"', + 'RunBeforeJob = "/usr/local/sbin/bacula_catalog_dump"', 'RunAfterJob = "rm /srv/bacula/bacula.sql"', 'Write Bootstrap = "/srv/bacula/%n.bsr"', "Priority = 11",