Class Hiera::Config
In: lib/hiera/config.rb
Parent: Object

Methods

[]   include?   load   load_backends  

Public Class methods

load takes a string or hash as input, strings are treated as filenames hashes are stored as data that would have been in the config file

Unless specified it will only use YAML as backend with a single ‘common’ hierarchy and console logger

@return [Hash] representing the configuration. e.g.

  {:backends => "yaml", :hierarchy => "common"}

[Validate]