From: Tollef Fog Heen Date: Thu, 18 Jul 2013 08:25:00 +0000 (+0200) Subject: Use bash to run grep command X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b13c9ec6470a77c5ab438945ffcc3b1a7bea3d40;p=mirror%2Fdsa-puppet.git Use bash to run grep command --- diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index cd8826c34..175eb83c9 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -65,7 +65,7 @@ FileSet { File = /dev File = /srv/chroot File = /home/buildd/build-trees - File = "\\|grep -s -v ^# /etc/bacula/local-exclude || true" + File = "\\|bash -c 'grep -s -v ^# /etc/bacula/local-exclude || true'" } }