Issue #11268 has been reported by Nan Liu.

----------------------------------------
Bug #11268: puppet master --compile ignores environments.
https://projects.puppetlabs.com/issues/11268

Author: Nan Liu
Status: Unreviewed
Priority: Normal
Assignee: 
Category: compiler
Target version: 
Affected Puppet version: 
Keywords: environment, master, compile
Branch: 


Related to #3910, after review this is filed as a separate bug.

Passing environment on master for compilation results in it being completely 
ignored:

    puppet master --compile raiden.local --environment=test
    notice: Scope(Node[default]): scope production
    notice: Scope(Node[default]): production

This works from the client, but it's ineffective to compile large number of 
catalogs by changing the puppet master configuration:

    info: Expiring the node cache of raiden.local
    info: Not using expired node for raiden.local from cache; expired at Fri 
Dec 02 10:58:06 -0500 2011
    info: Caching node for raiden.local
    notice: Scope(Node[default]): scope production 
    notice: Scope(Node[default]): production
    notice: Compiled catalog for raiden.local in environment production in 0.03 
seconds
    info: Expiring the node cache of raiden.local
    info: Not using expired node for raiden.local from cache; expired at Fri 
Dec 02 10:58:18 -0500 2011
    info: Caching node for raiden.local
    notice: Scope(Node[default]): scope test 
    notice: Scope(Node[default]): test


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