diff modules/website/manifests/https/redir.pp @ 11:4b42f65ae875

Make sure that alternate TLDs get certificate chain flowed through, and fix key file check for redirects
author IBBoard <dev@ibboard.co.uk>
date Sat, 08 Nov 2014 15:36:42 +0000
parents 16e9e26337be
children e50dab7495d7
line wrap: on
line diff
--- a/modules/website/manifests/https/redir.pp	Sat Nov 08 15:35:38 2014 +0000
+++ b/modules/website/manifests/https/redir.pp	Sat Nov 08 15:36:42 2014 +0000
@@ -50,7 +50,7 @@
         ensure => present;
       }
     }
-    if ! defined(File["/etc/pki/custom/$ssl_chain"]) {
+    if ! defined(File[$sslkey]) {
       file { $sslkey:
         source => "puppet:///private/pki/custom/${shortdomain}.key",
         before => Apache::Vhost[$name],