Issue #8688 has been updated by R.I. Pienaar. Status changed from Unreviewed to Rejected
Killing ticket, should be filed @ http://github.com/ripienaar/hiera ---------------------------------------- Feature #8688: Hiera variable dump of resolved data https://projects.puppetlabs.com/issues/8688 Author: Matt Pascoe Status: Rejected Priority: Normal Assignee: Category: Target version: Keywords: hiera, environment Branch: Affected mCollective version: I'd like to be able to create a file on one of my nodes containing the resolved key=value (could be json,yaml,csv etc output as well) data from hiera. This would be similar to the facts.yaml inline template that generates facts for mcollective today but that it would have resolved data from hiera. Specifically I have a hierarchy as follows: :hierarchy: - %{fqdn} - %{domain}/%{prodlevel} - %{domain}/common - common I'd like to be able to to specify the following in puppet: file{"/etc/host-hieradata.env": content => hiera_dump("fqdn=$fqdn", "keyvalue") } I'm guessing hiera_dump would take at least two parameters. First is scope data similar to what you pass on the CLI and the second is output format fo some sort. Now the end goal for me is to have a file that I can "dot in" or include in my scripts that are on the nodes. This way I can have one source of parameter data in the form of hiera that is usable after the fact on my node. Plus I dont have to build out templates or push multiple script files from puppet. I can simply write a static script as normal that includes the data dump file. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
