Module: HammerCLIForeman::AuthSourceLdap::CacertFileOption

Included in:
CreateCommand, UpdateCommand
Defined in:
lib/hammer_cli_foreman/auth_source_ldap.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
13
# File 'lib/hammer_cli_foreman/auth_source_ldap.rb', line 8

def self.included(base)
  base.option '--cacert-file', 'CACERT_FILE',
              _('Path to a PEM file with CA certificate(s) used for LDAPS verification (system trust store is not used when set). In containerized deployments, the container\'s trust store is used, so the CA certificate(s) may need to be provided here explicitly'),
              :attribute_name => :option_cacert,
              :format => HammerCLI::Options::Normalizers::File.new
end