Skip to content

Commit 6b7f1ff

Browse files
authored
Merge pull request #1 from greno2/amazon-linux-2-Support
Support for Amazon Linux 2 (which is based on el7)
2 parents 86d7f6a + b52dfa4 commit 6b7f1ff

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)