Skip to content

Commit

Permalink
(puppetlabsGH-1584) Update conditional logic in manifests/params.pp t…
Browse files Browse the repository at this point in the history
…o properly set provider on Amazon Linux
  • Loading branch information
rjd1 committed Jul 12, 2023
1 parent 3f8ece0 commit 9f60d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
$python_package_name = 'MySQL-python'
}
'Amazon': {
if versioncmp($facts['os']['release']['full'], '2') >= 0 {
if versioncmp($facts['os']['release']['full'], '2022') >= 0 or $facts['os']['release']['full'] == '2' {
$provider = 'mariadb'
} else {
$provider = 'mysql'
Expand Down

0 comments on commit 9f60d64

Please sign in to comment.