I’m seeing some references to being able to search for a host by using
params.<key>=<value> however I am not getting any results. At the end of the day we have a couple static host parameters (strings) that we want to be able to search (asset & install location information). This information is being set via API calls at host creation time. Attempting to search is also being done via the api.
We can create facts at the same time but rebuilds become a question. We have just started working with hooks and can probably do something there to re-create the facts when a rebuild occurs.
To be clear we are NOT trying to search for the value of a puppet class parameter that will be used on a host.
Thoughts on how to search?