diff --git a/README.rst b/README.rst index d6b389c..271a521 100644 --- a/README.rst +++ b/README.rst @@ -235,12 +235,13 @@ Debian and derivatives Red Hat family ~~~~~~~~~~~~~~ -- Amazon Linux -- CentOS 5/6/7 +- Amazon Linux 2012.3 and later +- CentOS 6/7 +- Cloud Linux 6/7 - Fedora 23/24/25 -- Oracle Linux 5/6/7 -- Red Hat Enterprise Linux 5/6/7 -- Scientific Linux 5/6/7 +- Oracle Linux 6/7 +- Red Hat Enterprise Linux 6/7 +- Scientific Linux 6/7 SUSE family diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 48c8226..edeba6d 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1840,7 +1840,7 @@ __check_end_of_life_versions() { centos) # CentOS versions lower than 5 are no longer supported - if [ "$DISTRO_MAJOR_VERSION" -lt 5 ]; then + if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then echoerror "End of life distributions are not supported." echoerror "Please consider upgrading to the next stable. See:" echoerror " http://wiki.centos.org/Download" @@ -1850,7 +1850,7 @@ __check_end_of_life_versions() { red_hat*linux) # Red Hat (Enterprise) Linux versions lower than 5 are no longer supported - if [ "$DISTRO_MAJOR_VERSION" -lt 5 ]; then + if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then echoerror "End of life distributions are not supported." echoerror "Please consider upgrading to the next stable. See:" echoerror " https://access.redhat.com/support/policy/updates/errata/" @@ -1858,6 +1858,36 @@ __check_end_of_life_versions() { fi ;; + oracle*linux) + # Oracle Linux versions lower than 5 are no longer supported + if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then + echoerror "End of life distributions are not supported." + echoerror "Please consider upgrading to the next stable. See:" + echoerror " http://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf" + exit 1 + fi + ;; + + scientific*linux) + # Scientific Linux versions lower than 5 are no longer supported + if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then + echoerror "End of life distributions are not supported." + echoerror "Please consider upgrading to the next stable. See:" + echoerror " https://www.scientificlinux.org/downloads/sl-versions/" + exit 1 + fi + ;; + + cloud*linux) + # Cloud Linux versions lower than 5 are no longer supported + if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then + echoerror "End of life distributions are not supported." + echoerror "Please consider upgrading to the next stable. See:" + echoerror " https://docs.cloudlinux.com/index.html?cloudlinux_life-cycle.html" + exit 1 + fi + ;; + amazon*linux*ami) # Amazon Linux versions lower than 2012.0X no longer supported if [ "$DISTRO_MAJOR_VERSION" -lt 2012 ]; then