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

Methods

[]   include?   load   load_backends   validate!  

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 hierarchy of ‘nodes/%{::trusted.certname}’ and ‘common’, and with a console logger.

@return [Hash] representing the configuration.

[Validate]