In the context of tickets that require coordination between multiple subteams in SRE, such as reboots, this is an idea to improve effectivenesss.
We already have "role_owner" annotations in puppet/Hiera that indicate service ownership.
These come from T216088 (T217686).
examples:
hieradata/role/common/dbbackups/content.yaml:profile::contacts::role_contacts: ['Data Persistence SREs'] hieradata/role/common/rpkivalidator.yaml:profile::contacts::role_contacts: ['Infrastructure Foundations SREs']
Now if we could create a custom puppet fact containing this same information, then we could do things like:
- use cumin to ask "what is the kernel version of all machines owned by $subteam" or "which hosts owned by $subteam are still on buster"
all in a single command.
This would be super convenient and immediately give an answer to "which of our hosts are left to do" among a long list of hostnames that require reboots, for example.
It would mean we don't have to create additional spreadsheets for that kind of thing as we are doing now.