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.
Fixes #366
This is my first attempt at replacing the
inventory
with the (hopefully) fasternodes
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