Issue #7117 has been updated by Nick Fagerlund.

Category set to API
Affected Puppet version set to 2.7.0rc1

Git bisect tracked this down to commit:cfe202539018b27c35ff833152f237bc30569a5f
Author: Jesse Wolfe <[email protected]>
Date:   Mon Nov 1 18:03:02 2010 -0700

    Maint: Remove Indirector::Request objects from HTTP Handler and API V1
    
    This is a maintenance refactor to reduce the dependencies between the
    rest API and the implementation of the Indirector. The HTTP Handler code
    was creating temporary Request objects that were not actually being
    passed to the Indirector.

Are there any other things related to environments that this commit might have 
broken? 
----------------------------------------
Bug #7117: 2.7.0rc1 broke the environment criteria in auth.conf
https://projects.puppetlabs.com/issues/7117

Author: Nick Fagerlund
Status: Unreviewed
Priority: Normal
Assignee: 
Category: API
Target version: 
Affected Puppet version: 2.7.0rc1
Keywords: 
Branch: 


Auth.conf has four criteria for determining an ACL match: path, method, 
authentication, and environment. Somewhere between 2.6.7 and Statler rc1, 
environment stopped working. 

To reproduce: on a puppet master running from source, make an auth.conf file 
like this: 

    path /
    environment override
    auth any
    allow *

On 2.6.7, this will allow the puppet master to behave normally in the 
production environment, but lets you test the REST API at will if you ask for 
the override environment. On 2.7.0rc1, the ACL is ignored completely. 


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