Per our conversation with @jcrespo:
modules/mysql isn't used by core databases (in favor of modules/mariadb) and is unmaintained. It perhaps could be fully removed and replaced by the mariadb module), but it currently has these users in the tree:
- hieradata/labs.yaml:mysql::server::use_apparmor: false # The images we have for debian don't support it
- modules/mediawiki_singlenode/manifests/init.pp: class { '::mysql::server':
- modules/quarry/manifests/database.pp: class { '::mysql::server':
- modules/role/manifests/requesttracker/labs.pp: class { 'mysql::server':
- modules/role/manifests/requesttracker/labs.pp: require => Class['::requesttracker', 'mysql::server'],
- modules/role/manifests/simplelamp.pp: class { '::mysql::server': # affects multiple projects (!) -> https://tools.wmflabs.org/openstack-browser/puppetclass/role::simplelamp T215662
- modules/role/manifests/statistics/private.pp: mysql::config::client { 'statistics-private': # Has moved to other places?
- modules/role/manifests/wikimetrics/staging.pp: class { '::mysql::server':
- modules/statistics/manifests/compute.pp: mysql::config::client { 'stats-research':
- modules/statistics/manifests/discovery.pp: ::mysql::config::client { 'discovery-stats':
- modules/statistics/manifests/mysql_credentials.pp: mysql::config::client { $title:
- modules/statistics/manifests/wmde.pp: mysql::config::client { 'research-wmde': ( # moved to other file
- modules/statistics/manifests/wmde/graphite.pp: mysql::config::client { 'research-wmde':
Plus, any other cleanups that we need to do while (if?) we're repurposing the mariadb module to cover misc use cases :)