Issue #1882 has been updated by nigelk2.

I had a look at trying to fix this and it seems quite problematic.

It looks like there's no information about the client being passed to the 
server when requesting the contents of 'facts'.

Is there a simple XMLRPC method we could insert before the puppet run starts 
that would cause the server to cache the node and fact information (if the 
client has facts) and not actually do anything else? I'll keep digging around 
for something like that.
----------------------------------------
Bug #1882: environments not used by server until after factsync runs
http://projects.reductivelabs.com/issues/show/1882

Author: nigelk2
Status: Accepted
Priority: Normal
Assigned to: 
Category: agent
Target version: 
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


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://reductivelabs.com/redmine/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