Custom System Info Keys in Satellite6
In Satellite6 it was possible to add Custom System Info Keys, i used to
used them to add metadata to servers, like info about ILO addresses, etc.
The best option I can think of in Satellite6 is adding a custom puppet fact on the servers for each key. Is it a better way that I have overlooked?
Responses
Host parameters are effectively the same thing (allowing you to set custom key/value-pair data for a host). You can set them in the UI, or in the CLI
hammer host set-parameter \
--host host.example.com \
--name 'ilo' \
--value "192.168.1.1"
Host parameters are delivered in a node's YAML definition, and can be used within puppet modules. Also, as an attribute of the host, they can be used in search queries.
Assuming that I set the parameter as described above, I can search for it:
hammer host list --search "params.ilo = 192.168.1.1"
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
