From 9f60d64be3200d466b2aaf93daa7e322f7e5fe10 Mon Sep 17 00:00:00 2001 From: Ryan Dill Date: Wed, 12 Jul 2023 13:21:16 +0800 Subject: [PATCH] (GH-1584) Update conditional logic in manifests/params.pp to properly set provider on Amazon Linux --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 21bc0477f..a539e42ce 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -36,7 +36,7 @@ $python_package_name = 'MySQL-python' } 'Amazon': { - if versioncmp($facts['os']['release']['full'], '2') >= 0 { + if versioncmp($facts['os']['release']['full'], '2022') >= 0 or $facts['os']['release']['full'] == '2' { $provider = 'mariadb' } else { $provider = 'mysql'