comparison 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
comparison
equal deleted inserted replaced
10:440ea809487c 11:4b42f65ae875
48 before => Apache::Vhost[$name], 48 before => Apache::Vhost[$name],
49 notify => Service['httpd'], 49 notify => Service['httpd'],
50 ensure => present; 50 ensure => present;
51 } 51 }
52 } 52 }
53 if ! defined(File["/etc/pki/custom/$ssl_chain"]) { 53 if ! defined(File[$sslkey]) {
54 file { $sslkey: 54 file { $sslkey:
55 source => "puppet:///private/pki/custom/${shortdomain}.key", 55 source => "puppet:///private/pki/custom/${shortdomain}.key",
56 before => Apache::Vhost[$name], 56 before => Apache::Vhost[$name],
57 notify => Service['httpd'], 57 notify => Service['httpd'],
58 ensure => present; 58 ensure => present;