Issue #22822 has been reported by Dan Bode. ---------------------------------------- Feature #22822: Puppet should support data_bindings as a part of the node object https://projects.puppetlabs.com/issues/22822
* Author: Dan Bode * Status: Unreviewed * Priority: Normal * Assignee: * Category: node * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- In Puppet, it should be possible to supply data_bindings during the creation of the node, and have the data-bindings system just use those bindings (by-passing the regular hiera lookup). Applied specifically to the ENC stdout interface, this might look something like this: parameters: classes: - foo - bar - baz data_bindings: foo::one: value_one foo::two: value_two bar::one: value_three This example assumes that somewhere in Puppet::Node, this sets a instance variable accessible to the data_binding system def lookup(key) @some_hash_set_by_the_node(key) end This would have the following advantages: 1. it allows users to precompile out their hierarchies in one pass which is much faster than the current default behavior of data-bindings 2. It allows users using an ENC to precompile all of their data for debugging purposes ahead of time -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.