HomePhabricator

wmfmariadbpy: Load and provide a method for section to port assignment

Description

wmfmariadbpy: Load and provide a method for section to port assignment

MariaBackup required a both socket and datadir from a given port.

Create a configuration file to provide that match (in both ways),
and use it to load it from the filesystem on request and provide
several methods to query it. This mapping file could be provided
by the package or by puppet.

Update MariaBackup to use such method.

Bug: T165358
Bug: T257033
Change-Id: I6cc99b5ed75b83498cacbd1e963c2f0b224493a8

Details

Provenance
jcrespoAuthored on Aug 14 2020, 7:59 AM
Parents
rOSWB3b97c7e3c508: Add mypy to tox, and check in CI.
Branches
Unknown
Tags
Unknown
ChangeId
I6cc99b5ed75b83498cacbd1e963c2f0b224493a8