Fixed an issue with Amazon linux major release 4 that would make the module exit with and error message

This commit is contained in:
Matias Gianni 2016-05-18 11:47:42 -03:00
parent d5d2de7719
commit 5a7e34b0ac

View file

@ -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")
}
}