Several tools in the RIAPS ecosystem use information from riaps-hosts.conf, but they have disparate functions for loading, verifying, and writing its contents. As this file is important to overall system state, we should instead create some kind of API for its use.
Desired functionality would include:
- Verifying no endpoints in the
nodes list are actually the control host
- Defaulting to a typical file path, but allowing usage of different hostlists
Several tools in the RIAPS ecosystem use information from riaps-hosts.conf, but they have disparate functions for loading, verifying, and writing its contents. As this file is important to overall system state, we should instead create some kind of API for its use.
Desired functionality would include:
nodeslist are actually the control host