+++ /dev/null
-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 /usr/local/sbin/update-ca-certificates-dsa ] ; then /usr/local/sbin/update-ca-certificates-dsa --fresh --default --certsconf /etc/ca-certificates-global.conf --etccertsdir /etc/ssl/ca-global --hooksdir /dev/null ; rm -f /run/dsa-ca-certificates-global ; fi";
-};
file { '/etc/apt/apt.conf.d/local-ssl-ca-global':
mode => '0444',
- source => 'puppet:///modules/ssl/local-ssl-ca-global',
+ content => template('ssl/local-ssl-ca-global.erb'),
}
file { '/etc/ssl/certs/ssl-cert-snakeoil.pem':
--- /dev/null
+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 \"<?= @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";
+};