[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585
Luke Kanies
luke at madstop.com
Fri Jan 23 14:21:24 UTC 2009
The following commit has been merged in the master branch:
commit b0c01dac2270b3107a07fd504f1c41f592e8f790
Author: Luke Kanies <luke at madstop.com>
Date: Wed Oct 8 22:27:12 2008 -0500
Adding an additional option for the fix in ff36832e, skipping missing cert dirs
Signed-off-by: Luke Kanies <luke at madstop.com>
diff --git a/lib/puppet/sslcertificates/support.rb b/lib/puppet/sslcertificates/support.rb
index d95944a..5ca0672 100644
--- a/lib/puppet/sslcertificates/support.rb
+++ b/lib/puppet/sslcertificates/support.rb
@@ -133,6 +133,9 @@ module Puppet::SSLCertificates::Support
#return nil unless FileTest.directory?(dir)
raise ArgumentError, "Tried to fix SSL files to a file containing uppercase" unless short.downcase == short
+
+ return false unless File.directory?(dir)
+
real_file = Dir.entries(dir).reject { |f| f =~ /^\./ }.find do |other|
other.downcase == short
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list