Skip to content

Commit b52dfa4

Browse files
authored
Update params.pp
1 parent 86d7f6a commit b52dfa4

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
@@ -51,6 +51,13 @@
5151
}
5252
$python_package_name = 'MySQL-python'
5353
}
54+
'Amazon': {
55+
if versioncmp($::operatingsystemrelease, '2') >= 0 {
56+
$provider = 'mariadb'
57+
} else {
58+
$provider = 'mysql'
59+
}
60+
}
5461
/^(RedHat|CentOS|Scientific|OracleLinux)$/: {
5562
if versioncmp($::operatingsystemmajrelease, '7') >= 0 {
5663
$provider = 'mariadb'

0 commit comments

Comments
 (0)