Update pinned mysql version
During the update of mysql from 5.6 to 5.7 we need to change pinned
value in galera pillar and update dependencies
Related-Bug: PROD-36708
Change-Id: I5d8021eaf613230b7ce85d86c83a46ce4ed66cd8
(cherry picked from commit 7ef244635f25eb315315f2715aba18cb6f6771ef)
diff --git a/.kitchen.yml b/.kitchen.yml
index 6a1fb2b..e89aa68 100644
--- a/.kitchen.yml
+++ b/.kitchen.yml
@@ -36,6 +36,9 @@
- repos_base
- repos
- galera
+ - repo_percona
+ pillars-from-files:
+ repo_percona.sls: tests/pillar/repo_percona.sls
verifier:
name: inspec
diff --git a/galera/map.jinja b/galera/map.jinja
index 6b06dbe..02c2490 100644
--- a/galera/map.jinja
+++ b/galera/map.jinja
@@ -17,7 +17,7 @@
- python-mysqldb
- psmisc
- netcat
- - percona-xtrabackup
+ - percona-xtrabackup-24
- socat
- libdbd-mysql
- python-pymysql
@@ -69,7 +69,7 @@
- libmysqlclient18
- psmisc
- netcat
- - percona-xtrabackup
+ - percona-xtrabackup-24
- socat
- libdbd-mysql
- python-pymysql
@@ -118,7 +118,7 @@
- python-mysqldb
- psmisc
- netcat
- - percona-xtrabackup
+ - percona-xtrabackup-24
- socat
- libdbd-mysql
- python-pymysql
diff --git a/tests/pillar/repo_percona.sls b/tests/pillar/repo_percona.sls
new file mode 100644
index 0000000..0272834
--- /dev/null
+++ b/tests/pillar/repo_percona.sls
@@ -0,0 +1,10 @@
+linux:
+ system:
+ enabled: true
+ repo:
+ percona:
+ source: "deb [arch=amd64] http://mirror.mirantis.com/testing/percona/{{ grains.get('oscodename') }} {{ grains.get('oscodename') }} main"
+ key_url: "http://percona.com/downloads/deb-percona-keyring.gpg"
+ extra:
+ source: "deb http://mirror.mirantis.com/testing/extra/{{ grains.get('oscodename') }} {{ grains.get('oscodename') }} main"
+ key_url: "http://mirror.mirantis.com/testing/extra/{{ grains.get('oscodename') }}/archive-extra.key"