Class: SaltHiera::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/salt_hiera/configuration.rb

Class Method Summary collapse

Class Method Details

.get(key) ⇒ Object



9
10
11
12
# File 'lib/salt_hiera/configuration.rb', line 9

def self.get key
  @@confighash ||= {}
  @@confighash[key]
end

.set(key, value) ⇒ Object



4
5
6
7
# File 'lib/salt_hiera/configuration.rb', line 4

def self.set key, value
  @@confighash ||= {}
  @@confighash[key] = value
end