Update MariaDB CentOS yum mirror URL

The yum mirrors for MariaDB have changes to the directory structure.
This patch updates the directory structure and chooses a faster
mirror from the US to use for installation.

Closes-Bug: 1747740
Change-Id: I213b66cddcad8328d7606385354a0a7194a5c569
This commit is contained in:
Major Hayden 2018-02-06 13:41:15 -06:00 committed by Jesse Pretorius (odyssey4me)
parent 91c50e9391
commit bd1f43f123
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
---
fixes:
- |
The upstream yum mirrors for MariaDB have changed their directory
structure from ``/10.1/centos/7`` to ``/10.1/centos7-amd64/``. The URL
has been changed, but deployers with an older OpenStack-Ansible deployment
may need to set ``galera_repo_url`` to match the new directory structure.

View File

@ -16,7 +16,7 @@
# TODO(odyssey4me):
# The use of 'galera_client_yum_repo_url' below is for backwards compatibility
# to settings released in Newton. It can be removed in Queens.
_galera_client_repo_url: "{{ galera_client_yum_repo_url | default('http://yum.mariadb.org/' ~ galera_client_major_version ~ '/centos/7/x86_64') }}"
_galera_client_repo_url: "{{ galera_client_yum_repo_url | default('http://yum.mariadb.org/' ~ galera_client_major_version ~ '/centos7-amd64/') }}"
_galera_client_repo:
state: "present"
name: MariaDB