Class | Hiera |
In: |
lib/hiera/backend/yaml_backend.rb
lib/hiera/backend.rb lib/hiera/console_logger.rb lib/hiera/puppet_logger.rb lib/hiera.rb |
Parent: | Object |
VERSION | = | "0.3.0" |
config | [R] | |
options | [R] |
If the config option is a string its assumed to be a filename, else a hash of what would have been in the YAML config file
Calls the backends to do the actual lookup.
The scope can be anything that responds to [], if you have input data like a Puppet Scope that does not you can wrap that data in a class that has a [] method that fetches the data from your source. See hiera-puppet for an example of this.
The order-override will insert as first in the hierarchy a data source of your choice.