From: Peter Palfrader Date: Sun, 25 Aug 2013 08:25:33 +0000 (+0200) Subject: use cert itself if we have no chain X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3e8716c6f51c4e068473fd55d847aa51c6bd6043;p=dsa-puppet.git use cert itself if we have no chain --- diff --git a/modules/ssl/files/empty b/modules/ssl/files/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/modules/ssl/manifests/service.pp b/modules/ssl/manifests/service.pp index 0af2e160..8e3d46f0 100644 --- a/modules/ssl/manifests/service.pp +++ b/modules/ssl/manifests/service.pp @@ -10,7 +10,7 @@ define ssl::service($ensure = present, $tlsaport = 443, $notify = []) { notify => [ Exec['c_rehash /etc/ssl/debian/certs'], $notify ], } file { "/etc/ssl/debian/certs/$name.crt-chain": - source => [ "puppet:///modules/ssl/servicecerts/${name}.crt-chain", "puppet:///modules/ssl/empty" ], + source => [ "puppet:///modules/ssl/servicecerts/${name}.crt-chain", "puppet:///modules/ssl/servicecerts/${name}.crt" ], notify => [ Exec['c_rehash /etc/ssl/debian/certs'], $notify ], links => follow, }