Sha256: e8627acd18a0a26876118a2daad0de2d3a1b3cf71bffbe52ffea9cd335aef236
Contents?: true
Size: 1.29 KB
Versions: 4
Compression:
Stored size: 1.29 KB
Contents
module RubyEasyRSA module Commands module Mixins module GlobalConfig def configure_command(builder, opts) extensions_directory = opts[:extensions_directory] openssl_binary = opts[:openssl_binary] ssl_configuration = opts[:ssl_configuration] safe_configuration = opts[:safe_configuration] vars = opts[:vars] batch = opts[:batch] pki_directory = opts[:pki_directory] builder = super(builder, opts) builder = builder.with_environment_variable( 'EASYRSA_OPENSSL', openssl_binary) if openssl_binary builder = builder.with_environment_variable( 'EASYRSA_EXT_DIR', extensions_directory) if extensions_directory builder = builder.with_environment_variable( 'EASYRSA_SSL_CONF', ssl_configuration) if ssl_configuration builder = builder.with_environment_variable( 'EASYRSA_SAFE_CONF', safe_configuration) if safe_configuration builder = builder.with_option( '--vars', vars) if vars builder = builder.with_flag( '--batch') if batch builder = builder.with_option( '--pki-dir', pki_directory) if pki_directory builder end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems