Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow trusted facts to be derived from node name #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nabertrand
Copy link

Allow trusted facts to be derived from node name

When using the certless API, Puppet will use trusted facts from PuppetDB unless provided in the request. If the PuppetDB facts were uploaded by the catalog_diff host, the trusted facts in PuppetDB will be for the catalog_diff host rather than the node being evaluated. This allows the trusted facts to be derived from the node name instead of using values from PuppetDB.

Perhaps there is a way to have Puppet store the trusted facts as presented in the facts file being uploaded, but from what I can tell the facts API always replaces trusted facts with data derived from the client cert.

When using the certless API, Puppet will use trusted facts from PuppetDB
unless provided in the request. If the PuppetDB facts were uploaded by the
catalog_diff host, the trusted facts in PuppetDB will be for the
catalog_diff host rather than the node being evaluated. This allows the
trusted facts to be derived from the node name instead of using values
from PuppetDB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant