Issue #10964 has been updated by Matthaus Litteken.

Status changed from Merged - Pending Release to Closed

Released in facter 2.0.0rc1
----------------------------------------
Feature #10964: Add the ability to directly set values
https://projects.puppetlabs.com/issues/10964#change-62950

Author: Ken Barber
Status: Closed
Priority: Normal
Assignee: Ken Barber
Category: interface
Target version: 2.0.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.

Reply via email to