diff options
| author | Luke Kanies <luke@madstop.com> | 2008-04-17 17:47:03 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-04-17 17:47:03 -0500 |
| commit | cbe522169ed6eb2426ecf5a77e24e27b6f7a4edf (patch) | |
| tree | a2b793773b4be415fca31ec91178e5c39f93a898 /lib/puppet/ssl/certificate.rb | |
| parent | c5f0eff51626baa76ebc5bd4bee9d319a0b220c5 (diff) | |
| download | puppet-cbe522169ed6eb2426ecf5a77e24e27b6f7a4edf.tar.gz puppet-cbe522169ed6eb2426ecf5a77e24e27b6f7a4edf.tar.xz puppet-cbe522169ed6eb2426ecf5a77e24e27b6f7a4edf.zip | |
Adding SSL::Host-level support for managing the terminus and
cache classes. Also, defaulting to the :file terminus
for all of the SSL classes.
Diffstat (limited to 'lib/puppet/ssl/certificate.rb')
| -rw-r--r-- | lib/puppet/ssl/certificate.rb | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/puppet/ssl/certificate.rb b/lib/puppet/ssl/certificate.rb index 9b1e2a79a..4887708f8 100644 --- a/lib/puppet/ssl/certificate.rb +++ b/lib/puppet/ssl/certificate.rb @@ -10,20 +10,5 @@ class Puppet::SSL::Certificate < Puppet::SSL::Base wraps OpenSSL::X509::Certificate extend Puppet::Indirector - indirects :certificate - - # Indicate where we should get our signed certs from. - def self.ca_is(dest) - raise(ArgumentError, "Invalid location '%s' for ca; valid values are :local and :remote" % dest) unless [:local, :remote].include?(dest) - @ca_location = dest - end - - # Default to :local for the ca location. - def self.ca_location - if defined?(@ca_location) and @ca_location - @ca_location - else - :local - end - end + indirects :certificate, :terminus_class => :file end |
