diff options
| author | Paul Berry <paul@puppetlabs.com> | 2010-11-29 11:56:40 -0800 |
|---|---|---|
| committer | Paul Berry <paul@puppetlabs.com> | 2010-11-29 12:08:26 -0800 |
| commit | 71ecad9904c8c48c023e90e5fbea5b26b180c9cf (patch) | |
| tree | 7109f1605e4dceca9e48ef58b41bda559ba4901d /lib/puppet/network/http | |
| parent | 14f8160674628340ccfd79baeb84f66cf1e0398a (diff) | |
| download | puppet-71ecad9904c8c48c023e90e5fbea5b26b180c9cf.tar.gz puppet-71ecad9904c8c48c023e90e5fbea5b26b180c9cf.tar.xz puppet-71ecad9904c8c48c023e90e5fbea5b26b180c9cf.zip | |
Maint: Refactor code to use <class>.indirection.<method>
Replaced uses of the find, search, destroy, and expire methods on
model classes with direct calls to the indirection objects. Also
removed the old methods that delegated to the indirection object.
Diffstat (limited to 'lib/puppet/network/http')
| -rw-r--r-- | lib/puppet/network/http/webrick.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/http/webrick.rb b/lib/puppet/network/http/webrick.rb index 8ed0b28ca..54bcf30c2 100644 --- a/lib/puppet/network/http/webrick.rb +++ b/lib/puppet/network/http/webrick.rb @@ -105,7 +105,7 @@ class Puppet::Network::HTTP::WEBrick results[:SSLStartImmediately] = true results[:SSLEnable] = true - raise Puppet::Error, "Could not find CA certificate" unless Puppet::SSL::Certificate.find(Puppet::SSL::CA_NAME) + raise Puppet::Error, "Could not find CA certificate" unless Puppet::SSL::Certificate.indirection.find(Puppet::SSL::CA_NAME) results[:SSLCACertificateFile] = Puppet[:localcacert] results[:SSLVerifyClient] = OpenSSL::SSL::VERIFY_PEER |
