Sha256: 9bd3bad343085beae925e68293586c44962a549e78c36aa872ebd0fbefbc4b21

Contents?: true

Size: 1003 Bytes

Versions: 1

Compression:

Stored size: 1003 Bytes

Contents

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

      class RecoverableError < StandardError
      end

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

      def self.subcommand
        @@subcommand
      end

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

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

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

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

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

      def self.subcommands
        @@subcommands
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hiera-eyaml-4.2.0 lib/hiera/backend/eyaml.rb