The current central auth dump script uses eval plus a bunch of greps in order to get config opts and db host/user/password information. This is horrid. Replace those bits with callouts to MW for db info and some tiny ptyong script to return the configfile settings we want.
Related Gerrit Patches:
|mediawiki/extensions/CentralAuth : master||provide the equivalent of getSlaveServer.php for centralauth|
|operations/dumps : master||tiny script that retrieves config values from dump config files|
That's the script as it currently stands. People copy from it to make their own cron jobs. Ewww.