Issue #1882 has been updated by Nigel Kersten.

Status changed from Accepted to Closed
Assignee set to Nigel Kersten

0.25.x completely fixed this for me.
----------------------------------------
Bug #1882: environments not used by server until after factsync runs
https://projects.puppetlabs.com/issues/1882

Author: Nigel Kersten
Status: Closed
Priority: Normal
Assignee: Nigel Kersten
Category: agent
Target version: 
Affected Puppet version: 0.24.7
Keywords: 
Branch: 


If the puppet server has no cached node information for a given client, the 
client environment is not taken into account when retrieving the facts.

For us this is reasonably obvious as we have a module "facts" where clients 
retrieve facts from, so that the facts can be specific to an environment.  We 
also have an entry in fileserver.conf for a facts mountpoint.

Assuming the server knows nothing about the client, when factsync runs, the 
facts are retrieved from the path of the facts mountpoint in fileserver.conf.  
After the client starts the catalog run, the client environment is cached on 
the server, and subsequent runs will pull the facts from the facts module for 
the correct environment.

This behavior doesn't change whether the environment is specified in the 
configuration file, on the command line, or as the result of a fact.


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