Module: Hiera::Backend::Eyaml

Defined in:
lib/hiera/backend/eyaml.rb,
lib/hiera/backend/eyaml/CLI.rb,
lib/hiera/backend/eyaml/utils.rb,
lib/hiera/backend/eyaml/options.rb,
lib/hiera/backend/eyaml/plugins.rb,
lib/hiera/backend/eyaml/commands.rb,
lib/hiera/backend/eyaml/encryptor.rb,
lib/hiera/backend/eyaml/edithelper.rb,
lib/hiera/backend/eyaml/subcommand.rb,
lib/hiera/backend/eyaml/parser/token.rb,
lib/hiera/backend/eyaml/encrypthelper.rb,
lib/hiera/backend/eyaml/logginghelper.rb,
lib/hiera/backend/eyaml/parser/parser.rb,
lib/hiera/backend/eyaml/highlinehelper.rb,
lib/hiera/backend/eyaml/encryptors/pkcs7.rb,
lib/hiera/backend/eyaml/subcommands/edit.rb,
lib/hiera/backend/eyaml/subcommands/help.rb,
lib/hiera/backend/eyaml/subcommands/decrypt.rb,
lib/hiera/backend/eyaml/subcommands/encrypt.rb,
lib/hiera/backend/eyaml/subcommands/recrypt.rb,
lib/hiera/backend/eyaml/subcommands/version.rb,
lib/hiera/backend/eyaml/subcommands/createkeys.rb,
lib/hiera/backend/eyaml/parser/encrypted_tokens.rb,
lib/hiera/backend/eyaml/subcommands/unknown_command.rb

Defined Under Namespace

Modules: Encryptors, Parser, Subcommands Classes: CLI, Commands, EditHelper, EncryptHelper, Encryptor, HighlineHelper, LoggingHelper, Options, Plugins, RecoverableError, Subcommand, Utils

Constant Summary collapse

VERSION =
'4.2.0'
DESCRIPTION =
'Hiera-eyaml is a backend for Hiera which provides OpenSSL encryption/decryption for Hiera properties'

Class Method Summary collapse

Class Method Details

.default_encryption_schemeObject



22
23
24
25
# File 'lib/hiera/backend/eyaml.rb', line 22

def self.default_encryption_scheme
  @@default_encryption_scheme ||= 'PKCS7'
  @@default_encryption_scheme
end

.default_encryption_scheme=(new_encryption) ⇒ Object



18
19
20
# File 'lib/hiera/backend/eyaml.rb', line 18

def self.default_encryption_scheme=(new_encryption)
  @@default_encryption_scheme = new_encryption
end

.subcommandObject



14
15
16
# File 'lib/hiera/backend/eyaml.rb', line 14

def self.subcommand
  @@subcommand
end

.subcommand=(command) ⇒ Object



10
11
12
# File 'lib/hiera/backend/eyaml.rb', line 10

def self.subcommand=(command)
  @@subcommand = command
end

.subcommandsObject



40
41
42
# File 'lib/hiera/backend/eyaml.rb', line 40

def self.subcommands
  @@subcommands
end

.subcommands=(commands) ⇒ Object



36
37
38
# File 'lib/hiera/backend/eyaml.rb', line 36

def self.subcommands=(commands)
  @@subcommands = commands
end

.verbosity_levelObject



31
32
33
34
# File 'lib/hiera/backend/eyaml.rb', line 31

def self.verbosity_level
  @@debug_level ||= 1
  @@debug_level
end

.verbosity_level=(new_verbosity_level) ⇒ Object



27
28
29
# File 'lib/hiera/backend/eyaml.rb', line 27

def self.verbosity_level=(new_verbosity_level)
  @@debug_level = new_verbosity_level
end