puppetlabs / puppetlabs-mysql

MySQL Puppet Module / Manifests + Types & Providers
Apache License 2.0
380 stars 796 forks source link

Incorrect defaults set for package name, error log, etc. on Amazon Linux 1 #1584

Open rjd1 opened 1 year ago

rjd1 commented 1 year ago

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.