File tree 3 files changed +26
-0
lines changed
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
13
13
'/opt/rh/rh-mysql56/root/usr/lib64' ,
14
14
'/opt/rh/rh-mysql57/root/usr/lib' ,
15
15
'/opt/rh/rh-mysql57/root/usr/lib64' ,
16
+ '/opt/rh/rh-mysql80/root/usr/lib' ,
17
+ '/opt/rh/rh-mysql80/root/usr/lib64' ,
16
18
'/opt/rh/rh-mariadb100/root/usr/lib' ,
17
19
'/opt/rh/rh-mariadb100/root/usr/lib64' ,
18
20
'/opt/rh/rh-mariadb101/root/usr/lib' ,
Original file line number Diff line number Diff line change 9
9
ENV [ 'PATH' ] ,
10
10
'/usr/libexec' ,
11
11
'/usr/share/mysql/scripts' ,
12
+ '/opt/rh/rh-mysql80/root/usr/bin' ,
13
+ '/opt/rh/rh-mysql80/root/usr/libexec' ,
12
14
'/opt/rh/rh-mysql57/root/usr/bin' ,
13
15
'/opt/rh/rh-mysql57/root/usr/libexec' ,
14
16
'/opt/rh/rh-mysql56/root/usr/bin' ,
You can’t perform that action at this time.
0 commit comments