File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ file {'/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo' :
2+ source => ' https://raw.githubusercontent.com/sclorg/centos-release-scl/master/centos-release-scl/RPM-GPG-KEY-CentOS-SIG-SCLo'
3+ }
4+
5+ yumrepo { 'centos-sclo-rh' :
6+ ensure => present ,
7+ name => ' CentOS-SCLo-scl-rh' ,
8+ enabled => true ,
9+ baseurl => ' http://mirror.centos.org/centos/7/sclo/$basearch/rh/' ,
10+ mirrorlist => ' http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh' ,
11+ descr => ' CentOS-7 - SCLo rh' ,
12+ gpgcheck => true ,
13+ gpgkey => ' file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo' ,
14+ }
15+ class {'mysql::server' :
16+ package_name => ' rh-mysql80' ,
17+ package_ensure => ' installed' ,
18+ service_name => ' rh-mysql80-mysqld' ,
19+ config_file => ' /etc/my.cnf' ,
20+ includedir => ' /etc/my.cnf.d' ,
21+ options => { mysqld => { log_error => ' /var/log/mysqld.log' , datadir => ' /var/lib/mysql' } }
22+ }
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ class Puppet::Provider::Mysql < Puppet::Provider
1313 '/opt/rh/rh-mysql56/root/usr/lib64' ,
1414 '/opt/rh/rh-mysql57/root/usr/lib' ,
1515 '/opt/rh/rh-mysql57/root/usr/lib64' ,
16+ '/opt/rh/rh-mysql80/root/usr/lib' ,
17+ '/opt/rh/rh-mysql80/root/usr/lib64' ,
1618 '/opt/rh/rh-mariadb100/root/usr/lib' ,
1719 '/opt/rh/rh-mariadb100/root/usr/lib64' ,
1820 '/opt/rh/rh-mariadb101/root/usr/lib' ,
Original file line number Diff line number Diff line change 99 ENV [ 'PATH' ] ,
1010 '/usr/libexec' ,
1111 '/usr/share/mysql/scripts' ,
12+ '/opt/rh/rh-mysql80/root/usr/bin' ,
13+ '/opt/rh/rh-mysql80/root/usr/libexec' ,
1214 '/opt/rh/rh-mysql57/root/usr/bin' ,
1315 '/opt/rh/rh-mysql57/root/usr/libexec' ,
1416 '/opt/rh/rh-mysql56/root/usr/bin' ,
You can’t perform that action at this time.
0 commit comments