Page MenuHomePhabricator

Export list of sections from puppet / add support to wmfdb
Open, Needs TriagePublic

Description

As @jcrespo ran into here, there's currently no way for software to get the full list of valid sections. This is stored in puppet modules/profile/types/mariadb/valid_section.pp, but is not exported to the machines (a la /etc/wmfmariadbpy/section_ports.csv). We should do something similar.

Event Timeline

For T301315 I've setup a file at /etc/wmfbackups/valid_sections.txt to handle with a file valid backup jobs- which will likely may be needed anyway, as the valid setup jobs will probably be very overlapping, but probably not 100% matching the valid sections:

https://gerrit.wikimedia.org/r/c/operations/software/wmfbackups/+/776171