From f0dbf198d87cdfdca07aece29f03732383144e43 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 18 Aug 2012 21:39:12 +0200 Subject: [PATCH] Install server certs into /etc/ssl/debian also --- modules/ssl/manifests/init.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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, } -- 2.20.1