Issue #6644 has been updated by Andrew Parker.

Target version deleted (2.7.x)


----------------------------------------
Feature #6644: Need test to guarantee that facts are written to fact YAML and 
inventory service database BEFORE node is classified
https://projects.puppetlabs.com/issues/6644#change-80348

Author: Nick Fagerlund
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


My understanding is that we currently always write the node fact YAML and the 
inventory service database entry before the ENC gets called, but it's 
considered a fortuitous coincidence and we don't make any guarantees about the 
order. 

Since some people use facts in their ENCs, and it's an elegant solution to 
things that are impossible to do by hostname a lot of the time, we should 
guarantee that facts get written in both places before the ENC gets called. 
This should be backed with a spec test. 

Considerations: 

* When we can't write to YAML on disk, Nigel thinks we blow up weirdly, which 
is reasonable in cases where our disk is full, right? 
* What happens when we can't write to the inventory service? Fail with a big 
warning in the logs?


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to