Commit Graph

10 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov cc7deb1f0e Update MariaDB GPG keys for RPM
Since 04.02.2023 MariaDB has updated their GPG key for new releases [1]

[1] https://mariadb.org/new-gpg-release-key-rpms/

Change-Id: Ic79b03e77c6f6154c0a1796985c17851aa0deec6
2023-03-31 13:05:30 +02:00
Dmitriy Rabotyagov c6218267c6 Use policy_rc_d attribute instead of copy
Since ansible 2.8 it's possible to provide policy_rc_d attribute to the
apt module in order to avoid service restart on installation/upgrade

Change-Id: Ida1ce1b767497c792fbb7bcdb934ba5e282041b1
2022-09-26 13:28:32 +02:00
Zuul 152ae31478 Merge "Add gentoo support to galera_server" 2019-02-26 19:23:43 +00:00
Matthew Thode ccf108ed24
Add gentoo support to galera_server
Depends-On: https://review.openstack.org/633289
Change-Id: I1ba3630e3f673aab419ebaff966f88868560df3b
2019-02-26 09:02:19 -06:00
Jesse Pretorius 6fdecd17b8 Add PERCONA-PACKAGING-KEY
This patch adds /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY which
comes from installing [1] and is required in order to install
the percona packages on CentOS packages. Without it we get
the error:

Public key for percona-toolkit-3.0.13-1.el7.x86_64.rpm is not installed

We also rename RPM-GPG-KEY-percona to RPM-GPG-KEY-Percona in
order to match what is done by [1].

[1] https://repo.percona.com/yum/percona-release-latest.noarch.rpm

Change-Id: I2eeac8ea21c52fac3b1f32036fedcf7c62aac37f
2019-01-10 12:34:05 +00:00
Jesse Pretorius c2b73bff52 Normalise in-repo GPG key implementation
To ensure that we have a consistent implementation
between the galera_client and galera_server roles,
we change the galera_server role to match galera_client
as was done in I520ccbadf3320b0d07fc83e3dbec9ea2bd16ec83

This updates it to a mechanism which will be easier to
maintain.

Change-Id: I7ac1a5e3a05aa3d0b4fae86c4a325ef147a9a528
2018-12-18 12:41:15 +00:00
Mohammed Naser c41b80cee9 Remove python-crypto and use in-repo GPG keys
We don't need python cryptography bindings in order to deploy a Galera
server therefore drop it from our dependencies.  It also is no longer
used inside OpenStack world for lack of security.

Also, we make remote network hits to get the GPG keys which are quite
unreliable so let's store them inside the role and use them.

Change-Id: I9443f10e8c803599cbebfc2a53cb9c432bfa60d1
2018-06-21 17:06:03 -04:00
Kevin Carter ca054bd8f7 Tune-up the galera role for efficiency
The galera server role has quite a bit going on within it and because of
recent improvements in Ansible we can make better use of tasks, blocks,
facts, local facts, and organization. This change tunes the role up
following some of our better/more modern patterns allowing the role to
not only be more efficient but also easier to understand and improves
the roles idempotency.

Change-Id: If189a8192f22aafb168587361ca8e6903c918697
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-11-29 01:59:52 +00:00
Michael Gugino 5136160186 Implement Xenial Support
This commit implements support for Ubuntu 16.04 Xenial.  Changes
include renaming several variables from galera_* to percona_* for
clarity.  The reason for this change is that 16.04 will be using
distribution provided packages for percona-xtrabackup.

Mariadb 10.0 packages are available for Ubuntu 16.04, so those
packages and installations procedures will remain unchanged.

Depends-On: Iab5485529cf14933fd7f37430d234a5c41185c18
Change-Id: I4baeb2eddf137619ffedba2f9efd61b7bd142f92
2016-05-19 16:38:40 -04:00
Kevin Carter 25a9eb3901
first commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-12-09 09:23:50 -06:00