Commit bcbdad55 authored by Tim Smith's avatar Tim Smith
Browse files

Remove support for RHEL 5 / Ubuntu 14.04

These are both EOL and we should simplify things by removing support
Signed-off-by: default avatarTim Smith <>
parent 254e64b4
......@@ -8,8 +8,8 @@ Manages installation of Erlang via packages or source.
### Platforms
- Debian/Ubuntu
- RHEL/CentOS/Scientific/Amazon/Oracle
- Debian/Ubuntu 16.04+
- RHEL/CentOS/Scientific/Amazon/Oracle 6+
- Fedora
- openSUSE
......@@ -43,11 +43,6 @@ when 'debian'
version node['erlang']['esl']['version'] if node['erlang']['esl']['version']
when 'rhel'
if node['platform_version'].to_i <= 5
Chef::Log.fatal('Erlang Solutions package repositories are not available for EL5')
include_recipe 'yum-erlang_solutions'
package 'esl-erlang' do
......@@ -23,29 +23,11 @@
case node['platform_family']
when 'debian'
if node['platform_version'].to_i < 16.04
erlpkg = node['erlang']['gui_tools'] ? 'erlang-x11' : 'erlang-nox'
package erlpkg
package 'erlang-dev'
when 'rhel', 'suse', 'fedora'
if node['platform_version'].to_i == 5 && node['erlang']['package']['install_epel_repository']
Chef::Log.warn('Adding EPEL Erlang Repo. This will have SSL verification disabled, as')
Chef::Log.warn('RHEL/CentOS 5.x will not be able to verify the SSL certificate of this')
Chef::Log.warn('repository despite it being valid because yum on does not correctly')
Chef::Log.warn('follow the HTTP redirect.')
yum_repository 'EPELErlangrepo' do
description "Updated erlang yum repository for RedHat / Centos 5.x - #{node['kernel']['machine']}"
baseurl '$basearch'
gpgcheck false
sslverify false
action :create
include_recipe 'yum-epel' if platform_family?('rhel') && node['erlang']['package']['install_epel_repository']
package 'erlang' do
version node['erlang']['package']['version'] if node['erlang']['package']['version']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment