Issue #22647 has been reported by Henrik Lindberg.

----------------------------------------
Feature #22647: Add smart defaults in Hiera-2 hiera.yaml
https://projects.puppetlabs.com/issues/22647

* Author: Henrik Lindberg
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: databinding
* Target version: 
* Affected Puppet version: 
* Keywords: databinding hiera-2 usability
* Branch: 
----------------------------------------
Currently, a level in the hierarchy needs to be defined with:
<pre>
- ['osfamily', '${osfamily}', 'data/osfamily/${osfamily}']
</pre>

By using smart defaults, this could be reduced to:
<pre>
- 'osfamily'
</pre>

If the `value` is missing, use the name of the category as the name of the 
variable to interpolate, and
use `"'<datadir>/<category-name>/'${<category-name>}'"` as the default path.

This depends on #22646 where the format is changed to a format with named 
attributes instead of an anonymous array of data.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to