File tree 4 files changed +2
-11
lines changed
4 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 486
486
487
487
# # Additional graceful failures
488
488
if $facts [' os' ][' family' ] == ' RedHat' and $facts [' os' ][' release' ][' major' ] == ' 4' and $facts [' os' ][' name' ] != ' Amazon' {
489
- fail(" Unsupported platform: puppetlabs-${module_name} only supports RedHat 6 .0 and beyond." )
489
+ fail(" Unsupported platform: puppetlabs-${module_name} only supports RedHat 7 .0 and beyond." )
490
490
}
491
491
}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class { 'mysql::server': root_password => 'password' }
40
40
/RedHat/: {
41
41
# RHEL/CentOS 5 is no longer supported by Percona, but older versions
42
42
# of the repository are still available.
43
- if versioncmp($facts['os']['release']['major'], '6') >= 0 {
43
+ if versioncmp($facts['os']['release']['major'], '6') > 0 {
44
44
$percona_url = 'http://repo.percona.com/yum/percona-release-latest.noarch.rpm'
45
45
$epel_url = "https://download.fedoraproject.org/pub/epel/epel-release-latest-${facts['os']['release']['major']}.noarch.rpm"
46
46
} else {
Original file line number Diff line number Diff line change 9
9
case os [ :family ]
10
10
when 'redhat'
11
11
case os [ :release ] . to_i
12
- when 5
13
- plugin = nil # Plugins not supported on mysql on RHEL 5
14
- when 6
15
- plugin = 'example'
16
- plugin_lib = 'ha_example.so'
17
12
when 7
18
13
plugin = 'pam'
19
14
plugin_lib = 'auth_pam.so'
Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ class { 'mysql::server': }
42
42
'percona-xtrabackup-24'
43
43
elsif Puppet ::Util ::Package . versioncmp ( facts [ :os ] [ 'release' ] [ 'major' ] , '7' ) >= 0
44
44
'percona-xtrabackup'
45
- else
46
- 'percona-xtrabackup-20'
47
45
end
48
46
elsif facts [ :os ] [ 'name' ] == 'Debian'
49
47
'percona-xtrabackup-24'
@@ -197,8 +195,6 @@ class { 'mysql::server': }
197
195
'percona-xtrabackup-24'
198
196
elsif Puppet ::Util ::Package . versioncmp ( facts [ :os ] [ 'release' ] [ 'major' ] , '7' ) >= 0
199
197
'percona-xtrabackup'
200
- else
201
- 'percona-xtrabackup-20'
202
198
end
203
199
elsif facts [ :os ] [ 'name' ] == 'Debian'
204
200
'percona-xtrabackup-24'
You can’t perform that action at this time.
0 commit comments