The current logic in params.pp effectively results in $provider being set to mariadb for all versions of Amazon Linux, due to how the releases are named/numbered.
Expected Behavior
The default provider should be mariadb only on Amazon Linux 2 and later (AL2022/2023), else be mysql.
Steps to Reproduce
Steps to reproduce the behavior:
include mysql::server
Environment
Version 15.0.0
Platform Amazon Linux 1 (tested on 2017.03; should apply to all), Puppet 7.13.1
Describe the Bug
The current logic in params.pp effectively results in $provider being set to mariadb for all versions of Amazon Linux, due to how the releases are named/numbered.
Expected Behavior
The default provider should be mariadb only on Amazon Linux 2 and later (AL2022/2023), else be mysql.
Steps to Reproduce
Steps to reproduce the behavior: include mysql::server
Environment
Additional Context
Add any other context about the problem here.