diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-17 16:15:33 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-17 16:15:33 +0000 |
| commit | d56870cff9fac4704de91dee9ef3138bf0a80ff4 (patch) | |
| tree | b153b1d34e2f8bf1290ff55a393821363725ca5f /lib/puppet/sslcertificates | |
| parent | 0478f78b2291b9c54b4de9807fd0a0f216eaed53 (diff) | |
Fixing a bunch of small bugs, mostly found by testing on solaris, and added a check to the test system that points out memory growth
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1113 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/sslcertificates')
| -rw-r--r-- | lib/puppet/sslcertificates/ca.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/sslcertificates/ca.rb b/lib/puppet/sslcertificates/ca.rb index 1d9823ed1..04d950e21 100644 --- a/lib/puppet/sslcertificates/ca.rb +++ b/lib/puppet/sslcertificates/ca.rb @@ -168,8 +168,8 @@ class Puppet::SSLCertificates::CA # List certificates waiting to be signed. def list - return Dir.entries(Puppet[:csrdir]).reject { |file| - file =~ /^\.+$/ + return Dir.entries(Puppet[:csrdir]).find_all { |file| + file =~ /\.pem$/ }.collect { |file| file.sub(/\.pem$/, '') } |
