Module: CfnVpn

Defined in:
lib/cfnvpn.rb,
lib/cfnvpn/s3.rb,
lib/cfnvpn/acm.rb,
lib/cfnvpn/log.rb,
lib/cfnvpn/config.rb,
lib/cfnvpn/globals.rb,
lib/cfnvpn/version.rb,
lib/cfnvpn/compiler.rb,
lib/cfnvpn/deployer.rb,
lib/cfnvpn/clientvpn.rb,
lib/cfnvpn/s3_bucket.rb,
lib/cfnvpn/certificates.rb,
lib/cfnvpn/templates/vpn.rb,
lib/cfnvpn/templates/helper.rb,
lib/cfnvpn/templates/lambdas.rb

Defined Under Namespace

Modules: Actions, Log, Templates Classes: Acm, Certificates, Cli, ClientVpn, Compiler, Config, Deployer, S3, S3Bucket

Constant Summary collapse

VERSION =
"1.5.0".freeze
CHANGE_SET_VERSION =
VERSION.gsub('.', '-').freeze

Class Method Summary collapse

Class Method Details

.cfnvpn_pathString

Returns the filepath to the location CfnVpn will use for storage. Used for certificate generation as well as the download and upload location. Can be overridden by specifying a value for the ENV variable ‘CFNVPN_PATH’.

Returns:



11
12
13
# File 'lib/cfnvpn/globals.rb', line 11

def cfnvpn_path
  @cfnvpn_path ||= File.expand_path(ENV["CFNVPN_PATH"] || "~/.cfnvpn")
end