Issue #19845 has been updated by Jeff McCune.

Status changed from Unreviewed to Merged - Pending Release
Target version set to 2.0.0
Branch set to http://github.com/puppetlabs/facter/pull/410

summary: Merged into master as b7f75cf. This should be released in Facter 2. 
Thanks again for the contribution! Please note, I re-wrote the 
Facter::Util::Resolution#confine API documentation in commit 49e3f85

----------------------------------------
Feature #19845: Allow :true confines like in puppet providers
https://projects.puppetlabs.com/issues/19845#change-88012

* Author: Erik Dalén
* Status: Merged - Pending Release
* Priority: Normal
* Assignee: 
* Category: library
* Target version: 2.0.0
* Keywords: confine proc
* Branch: http://github.com/puppetlabs/facter/pull/410
* Affected Facter version: 
----------------------------------------
Especially with the addition of Proc confines it would be nice to be able to do

    confine :true => lambda { code.. }

But maybe allow block arguments to confine directly, so just

    confine { code.. }

There was some discussion around this in 
https://github.com/puppetlabs/facter/pull/407


-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to