Open dustymabe opened 1 year ago
Seems reasonable. We'd need to define the parent/child relationships for config merging, maybe something like:
[root]
---
[first child of root]
---
[second child of root]
---
[third child of root]
Implementing this would require #118 but probably wouldn't need too much additional work once that's in place.
It would be nice if we could group configuration from different types of sections together inside a yaml
.bu
file. This would allow for better management of the configuration (i.e. if you delete something because it's no longer needed you don't forget to delete a corresponding piece).Here would be an example:
In this case we separate "system" configuration from the
builder
user's configuration. We have two different passwd and storage/files sections etc..It's just easier to reason about when you don't have to scan through unrelated things to find a corresponding piece of the puzzle.
This can be solved by using multiple .bu files and using config merging but that is a bit heavyweight.