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

Replace inventory with nodes endpoint #381

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

Replace inventory with nodes endpoint #381

wants to merge 1 commit into from

Conversation

oneiros
Copy link
Collaborator

@oneiros oneiros commented May 22, 2024

Fixes #366

This is my first attempt at replacing the inventory with the (hopefully) faster nodes endpoint.

Please note that I have not tested this against a real puppet server as I do not currently have a working setup. Instead I worked from the documentation and amended our "fake" puppet server accordingly. If someone could test this (reasonably) quickly against a real puppet server, this would be greatly appreciated. Otherwise I will try to rebuild my test environment to do so myself.

Also note that I went with catalog_environment as outlined here: #366 (comment)

`nodes` should be faster than `inventory`.
@oneiros oneiros requested a review from a team as a code owner May 22, 2024 12:14
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.

Performance tuning PQL queries
1 participant