From 5886d37af0429728db42faf7e950d971145a643b Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Thu, 6 Dec 2007 15:48:47 -0600 Subject: Applying patch by whaymond_home to further fix part of #896. --- lib/puppet/sslcertificates.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/sslcertificates.rb b/lib/puppet/sslcertificates.rb index 1139db048..e9d544125 100755 --- a/lib/puppet/sslcertificates.rb +++ b/lib/puppet/sslcertificates.rb @@ -61,7 +61,7 @@ module Puppet::SSLCertificates key_usage = %w{cRLSign keyCertSign} when :server: basic_constraint = "CA:FALSE" - hash[:dnsnames].each(':') { |d| subject_alt_name << 'DNS:' + d } if hash[:dnsnames] + hash[:dnsnames].split(':').each { |d| subject_alt_name << 'DNS:' + d } if hash[:dnsnames] key_usage = %w{digitalSignature keyEncipherment} ext_key_usage = %w{serverAuth clientAuth} when :ocsp: -- cgit