alces-software / metalware

Tools and conventions for improving bare metal machine management
Other
2 stars 0 forks source link

Generic namespace data loading #454

Closed bobwhitelock closed 6 years ago

bobwhitelock commented 6 years ago

Accessing alces.data.foo now provides access within the templating namespace to the YAML data stored in the file /var/lib/metalware/data/foo.yaml. This provides a way to make arbitrary new data available within the namespace, which will be useful both as part of the Metalware/Underware split, as well as a feature requested by @ColonelPanicks.

Also made the corresponding change to store the hunter data in this new namespace, which means Underware no longer needs to know about hunter.