Class: Puppet::SSL::CertificateAuthority::AutosignConfig Private
- Defined in:
- lib/puppet/ssl/certificate_authority.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #allowed?(csr) ⇒ Boolean private
-
#initialize(config_file) ⇒ AutosignConfig
constructor
private
A new instance of AutosignConfig.
Constructor Details
#initialize(config_file) ⇒ AutosignConfig
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of AutosignConfig.
532 533 534 |
# File 'lib/puppet/ssl/certificate_authority.rb', line 532 def initialize(config_file) @config = config_file end |
Instance Method Details
#allowed?(csr) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
536 537 538 |
# File 'lib/puppet/ssl/certificate_authority.rb', line 536 def allowed?(csr) autosign_store.allowed?(csr.name, '127.1.1.1') end |