betadots / hdm

The Hiera Data Manager (HDM) is a Web UI to visualize Hiera data and make it searchable!
GNU Affero General Public License v3.0
20 stars 4 forks source link

Replace `inventory` with `nodes` endpoint #381

Open oneiros opened 4 months ago

oneiros commented 4 months ago

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: https://github.com/betadots/hdm/issues/366#issuecomment-2124616187