Displaying 3 results from an estimated 3 matches for "hiera_puppet".
2012 Nov 23
3
how to query yaml file with hiera function.
Hi guys,
i have a hiera.yaml config file like this:
---
:hierarchy:
- %{env}/%{tmp_module_name}
- %{env}/%{tmp_module_name}.common
:backends:
- yaml
:yaml:
:datadir: ''/etc/puppet/hieradata''
I also have a test/some_module.yaml file like this:
---
db:
root : pass
port : ''3306''
I am also using the hiera function
2012 Mar 16
3
Simple hiera-puppet usage
Hi all,
I am trying to understand how does hiera puppet backend work, so I created the
following example:
hiera.yaml has only:
---
:backends:
- puppet
---
And the node:
node ''testnode'' {
$variable = ''kk''
$thing = hiera ("variable")
notify { "note: $thing": }
}
I don''t want to use the yaml backend for now, just want to
2012 Sep 30
22
in-module data with hiera
hello,
Till now hiera-puppet was the only way I know that allowed hiera data to
be loaded from inside a module.
The problem with this was that it was still subject to the site specific
hierarchy which means a module author had a pretty hard time to store
his data in a proper way in his module thus perpetuating the use of the
params classes pattern.
Now that Puppet 3 is out and it''s gem