puppet-openstack-integration/manifests/mysql.pp
yatinkarel b44d0bdd5a Add CentOS8 support and jobs
- scenario001 and 004 will be running without ceph
  until ceph repos get available for CentOS8
- scenario003 will run not run with linuxbridge until next CentOS
  minor version as it has issues:-
    - https://bugzilla.redhat.com/show_bug.cgi?id=1720637
- Add Puppetfile_centos7 to have different puppet modules
  as compared to other distros. Currently only puppet-mysql
  needs to be kept pinned for centos7 as newere mariadb version
  is required to remove the pin, CentOS8 and ubuntu have required
  mariadb version so pin is removed. So automatic updates of puppet
  modules will not be applied for CentOS7 as those jobs are going to
  be removed in coming months.
- check for rdo_dlrn url existence only for RedHat distros.

Change-Id: I98fc088cd87c1412544f9590ce7a925b413297e2
2019-12-20 10:18:18 +00:00

16 lines
503 B
Puppet

class openstack_integration::mysql {
class { 'mysql::server': }
# FIXME (amoralej) Required until a new release of mariadb-libs is released by RDO
# Fedora and CentOS8 do not have mariadb-libs, so changing only for CentOS
if ($::operatingsystem == 'CentOS') and (versioncmp($::operatingsystemmajrelease, '7') == 0) {
package { 'mariadb-libs':
ensure => 'latest'
}
Package['mariadb-libs'] -> Class['mysql::server']
Package['mariadb-libs'] -> Class['mysql::client']
}
}