Edit: master_tops is probably not the right place for this. I'll repurpose (and retitle) this issue as soon as the storm has left my brain (i.e. "brainstorming is done…").
At least with reclass, nodegroups are part of the inventory and thus could easily be made available to Salt, such that I could target commands or states at groups in my inventory.
Instead of defining a new interface (we already have master_tops and ext_pillar separately, do we want a third?), maybe the master_tops interface could be extended to allow the external source to return nodegroups?
I don't have a clear idea of how this would work yet, but if you give a general green light into this direction, I could start looking and evaluating various options. It is possible that the interface would have to be incompatibly changed, unfortunately, but I would document this appropriately and change the existing tops plugins.
Edit:
master_topsis probably not the right place for this. I'll repurpose (and retitle) this issue as soon as the storm has left my brain (i.e. "brainstorming is done…").At least with reclass, nodegroups are part of the inventory and thus could easily be made available to Salt, such that I could target commands or states at groups in my inventory.
Instead of defining a new interface (we already have
master_topsandext_pillarseparately, do we want a third?), maybe themaster_topsinterface could be extended to allow the external source to return nodegroups?I don't have a clear idea of how this would work yet, but if you give a general green light into this direction, I could start looking and evaluating various options. It is possible that the interface would have to be incompatibly changed, unfortunately, but I would document this appropriately and change the existing
topsplugins.