From 5a7e34b0aca2f81b71e58cbd43e4f6903677485d Mon Sep 17 00:00:00 2001 From: Matias Gianni Date: Wed, 18 May 2016 11:47:42 -0300 Subject: [PATCH] Fixed an issue with Amazon linux major release 4 that would make the module exit with and error message --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 25ab622..130d816 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -432,7 +432,7 @@ class mysql::params { } ## Additional graceful failures - if $::osfamily == 'RedHat' and $::operatingsystemmajrelease == '4' { + if $::osfamily == 'RedHat' and $::operatingsystemmajrelease == '4' and $::operatingsystem != 'Amazon' { fail("Unsupported platform: puppetlabs-${module_name} only supports RedHat 5.0 and beyond") } }