Skip to content

Commit a043531

Browse files
authored
Merge pull request #1328 from greno2/master
Add compatibility for Amazon Linux 2
2 parents 48a4298 + 3040e2d commit a043531

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

manifests/params.pp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@
5050
}
5151
$python_package_name = 'MySQL-python'
5252
}
53+
'Amazon': {
54+
if versioncmp($::operatingsystemrelease, '2') >= 0 {
55+
$provider = 'mariadb'
56+
} else {
57+
$provider = 'mysql'
58+
}
59+
}
5360
/^(RedHat|CentOS|Scientific|OracleLinux)$/: {
5461
if versioncmp($::operatingsystemmajrelease, '7') >= 0 {
5562
$provider = 'mariadb'

0 commit comments

Comments
 (0)