diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-07-19 16:45:26 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-07-20 14:49:47 -0700 |
commit | cc311ad3dcb70547d7249e7aec9f545672c3e8e2 (patch) | |
tree | 80cd2942d5348348df55ae8e11c06dc4f5ca7d17 /lib/puppet/rails/rails_resource.rb | |
parent | 72abe6ce7192bba0b295a8a83483668d21050624 (diff) | |
download | puppet-cc311ad3dcb70547d7249e7aec9f545672c3e8e2.tar.gz puppet-cc311ad3dcb70547d7249e7aec9f545672c3e8e2.tar.xz puppet-cc311ad3dcb70547d7249e7aec9f545672c3e8e2.zip |
maint: SSL::Inventory.serial should report missing names.
Our SSL inventory was able to find the serial number of a certificate by name,
but was incapable of living up to the contract it offered, that it would
actually report when a certificate was missing.
Now it returns `nil`, which is the same case as "no inventory", if the
certificate was not found, rather than accidentally returning the entire
inventory data as raw strings.
Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions