Sha256: cbed77d5564a9ba93f187ffd5243545ad51edca052d2c640cf743ff70dc59249
Contents?: true
Size: 545 Bytes
Versions: 120
Compression:
Stored size: 545 Bytes
Contents
require_relative '../../puppet/settings/base_setting' class Puppet::Settings::CertificateRevocationSetting < Puppet::Settings::BaseSetting def type :certificate_revocation end def munge(value) case value when 'chain', 'true', TrueClass :chain when 'leaf' :leaf when 'false', FalseClass, NilClass false else raise Puppet::Settings::ValidationError, _("Invalid certificate revocation value %{value}: must be one of 'true', 'chain', 'leaf', or 'false'") % { value: value } end end end
Version data entries
120 entries across 120 versions & 1 rubygems