Issue #4064 has been updated by Rein Henrichs.

Status changed from Investigating to Ready for Testing
Branch set to feature/0.25.x/4064-allow-lazily-evaluated-confine

Ticket title is inaccurate. The confine is inherited, but the specific confine 
checks for a constant that is not necessarily defined when the line is executed 
in the interpreter. My patch modifies confine to accept a message and a block 
that will be lazily evaluated. This way the check for the Rails feature in the 
parent describe block will be executed before we check for ActuveRecord.


----------------------------------------
Bug #4064: confine does not inherit to inner describe blocks
http://projects.puppetlabs.com/issues/4064

Author: Rein Henrichs
Status: Ready for Testing
Priority: Normal
Assigned to: Rein Henrichs
Category: 
Target version: 
Affected version: 0.25.5
Keywords: 
Branch: feature/0.25.x/4064-allow-lazily-evaluated-confine


    confines are not inherited by inner define blocks. For instance:
    
    describe "something" do
      confine "can not has" => false
      describe "something else"
        ... this will still be run ..
      end
    end

We need to ensure that inner describe blocks inherit the confine from their 
parents.


-- 
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