search for: hiera_lookup

Displaying 1 result from an estimated 1 matches for "hiera_lookup".

2012 Jul 20
2
Lookup another node's hiera data - fqdn hierarchy
...p scripts on each node, and would like to re-use the same information to automatically configure the backup server to grab those locations. This attempt may work, but it doesn''t ''feel'' right to me by overriding the fqdn fact. /etc/puppet/modules/test $ cat manifests/hiera_lookup.pp class test::hiera_lookup { $nodes = foreman(''fact_values'', ''fact = fqdn'') if $nodes { create_resources(''test::hiera_lookup::get_data'', $nodes) } } define test::hiera_lookup::get_data ( $fqdn ) { $data = hiera("backuppc_d...