From: Peter Palfrader Date: Sat, 18 Aug 2012 19:39:12 +0000 (+0200) Subject: Install server certs into /etc/ssl/debian also X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f0dbf198d87cdfdca07aece29f03732383144e43;p=mirror%2Fdsa-puppet.git Install server certs into /etc/ssl/debian also --- diff --git a/modules/ssl/manifests/init.pp b/modules/ssl/manifests/init.pp index 86094b1a9..4e52ad31a 100644 --- a/modules/ssl/manifests/init.pp +++ b/modules/ssl/manifests/init.pp @@ -40,6 +40,16 @@ class ssl { source => 'puppet:///modules/ssl/clientcerts/ca.crl', } + file { '/etc/ssl/debian/certs/thishost-server.crt': + source => "puppet:///modules/exim/certs/${::fqdn}.crt", + notify => Exec['c_rehash /etc/ssl/debian/certs'], + } + file { '/etc/ssl/debian/certs/thishost-server.key': + source => "puppet:///modules/exim/certs/${::fqdn}.key", + group => ssl-certm, + mode => '0640', + } + exec { 'c_rehash /etc/ssl/debian/certs': refreshonly => true, }