Issue #14315 has been updated by Kelsey Hightower. Branch set to https://github.com/kelseyhightower/puppet/tree/feature/master/14315_add_lookup_function
---------------------------------------- Feature #14315: Puppet's data binding feature should have a lookup function https://projects.puppetlabs.com/issues/14315#change-61988 Author: Kelsey Hightower Status: Accepted Priority: Normal Assignee: Kelsey Hightower Category: Target version: Telly Affected Puppet version: Keywords: Branch: https://github.com/kelseyhightower/puppet/tree/feature/master/14315_add_lookup_function Puppet should have a lookup function which interacts with the data_binding terminus. The lookup fuction should accept two arguments: the key to lookup and a default value if the key is not found. Example usage: class ssh { $port = lookup('port', 8080) } -- 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.
