diff options
author | Luke Kanies <luke@madstop.com> | 2007-12-06 15:48:47 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-12-06 15:48:47 -0600 |
commit | 5886d37af0429728db42faf7e950d971145a643b (patch) | |
tree | 6f3c508c8c73b23c2a39a24a9558d6313e763ce2 /lib/puppet/sslcertificates.rb | |
parent | 4d4abd36b8e354e3581d32faae345fb55e16f3ea (diff) | |
download | puppet-5886d37af0429728db42faf7e950d971145a643b.tar.gz puppet-5886d37af0429728db42faf7e950d971145a643b.tar.xz puppet-5886d37af0429728db42faf7e950d971145a643b.zip |
Applying patch by whaymond_home to further fix part of #896.
Diffstat (limited to 'lib/puppet/sslcertificates.rb')
-rwxr-xr-x | lib/puppet/sslcertificates.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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: |