Issue #10964 has been updated by Ken Barber. Status changed from Accepted to Merged - Pending Release Branch set to https://github.com/kbarber/facter/tree/ticket/10964-add_value_option
Merged in Luke's patch for this: caca0b22faeabb2b4cc891987e26ad45899da7d4 ---------------------------------------- Feature #10964: Add the ability to directly set values https://projects.puppetlabs.com/issues/10964 Author: Ken Barber Status: Merged - Pending Release Priority: Normal Assignee: Ken Barber Category: interface Target version: 1.7.0 Keywords: Branch: https://github.com/kbarber/facter/tree/ticket/10964-add_value_option Affected Facter version: Add the ability to set a value directly: Facter.add(:myfact, :value => "myvalue") At the moment doing this kind of thing means opening a block, and doing it within setcode. We do enough of this shorthand use of Facter that it warrants a proper API. -- 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.
