Displaying 1 result from an estimated 1 matches for "elasticsearch_cluster_nam".
Did you mean:
elasticsearch_cluster_name
2013 Jan 30
1
Hiera parameter lookup, nesting variables and Puppet 3
...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_cluster_name''] %>
The associated log_indexer.yaml for Hiera is:
log_indexer_conf:
elasticsearch_cluster_name: ''van-test-elasticsearch-cluster''
The Puppet 3
Class(http://docs.puppetlabs.com/puppet/3/reference/lang_classes.html#assigning-classes-from-an-enc)
docs say,...