Displaying 1 result from an estimated 1 matches for "log_index".
Did you mean:
long_index
2013 Jan 30
1
Hiera parameter lookup, nesting variables and Puppet 3
...n the Puppet 3 class doc with our
current use of Hiera. We currently retrieve variables from Hiera in one big
collection while the Puppet 3 doc seems to indicate storing variables
without the collection.
For example, we have a module to manage a log indexer. In its init.pp it
says:
class log_indexer(
$log_indexer_conf = hiera_hash(''log_indexer_conf''),
){
class {''log_indexer::config'':
log_indexer_conf => $log_indexer_conf}
}
One of the templates used says:
cluster.name: <%= @log_indexer_conf[''elasticsearch_c...