Server IP : 111.118.215.189 / Your IP : 18.188.149.185 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/ruby/vendor_ruby/puppet/indirector/certificate_request/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
require 'puppet/indirector/ssl_file' require 'puppet/ssl/certificate_request' class Puppet::SSL::CertificateRequest::Ca < Puppet::Indirector::SslFile desc "Manage the CA collection of certificate requests on disk." store_in :csrdir def save(request) if host = Puppet::SSL::Host.indirection.find(request.key) if Puppet[:allow_duplicate_certs] Puppet.notice "#{request.key} already has a #{host.state} certificate; new certificate will overwrite it" else raise "#{request.key} already has a #{host.state} certificate; ignoring certificate request" end end result = super Puppet.notice "#{request.key} has a waiting certificate request" result end end