From: Peter Palfrader Date: Sun, 15 Jul 2018 08:55:13 +0000 (+0200) Subject: fix template X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=cf682174f1c74d95185684d3b335c83f2cd31e68 fix template --- diff --git a/modules/ssl/templates/local-ssl-ca-global.erb b/modules/ssl/templates/local-ssl-ca-global.erb index 8d6a8f330..c5a7f2c2f 100644 --- a/modules/ssl/templates/local-ssl-ca-global.erb +++ b/modules/ssl/templates/local-ssl-ca-global.erb @@ -2,5 +2,5 @@ DPkg::Pre-Install-Pkgs { "if grep -q '/ca-certificates_.*\.deb$' ; then touch /run/dsa-ca-certificates-global ; fi"; }; DPkg::Post-Invoke { - "if [ -e /run/dsa-ca-certificates-global ] && [ -e \"" ] ; then \"\" --fresh --default --certsconf /etc/ca-certificates-global.conf --etccertsdir /etc/ssl/ca-global --hooksdir /dev/null ; rm -f /run/dsa-ca-certificates-global ; fi"; + "if [ -e /run/dsa-ca-certificates-global ] && [ -e \"<%= @updatecacerts %>" ] ; then \"<%= @updatecacerts %>\" --fresh --default --certsconf /etc/ca-certificates-global.conf --etccertsdir /etc/ssl/ca-global --hooksdir /dev/null ; rm -f /run/dsa-ca-certificates-global ; fi"; };