Commit 77f8c2e5 authored by Lance Albertson's avatar Lance Albertson
Browse files

Various fixes for Amazon Linux


Signed-off-by: default avatarLance Albertson <lance@osuosl.org>
parent 8ac29f7f
......@@ -40,7 +40,6 @@ jobs:
strategy:
matrix:
os:
- 'amazonlinux'
- 'amazonlinux-2'
- 'debian-9'
- 'debian-10'
......
......@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Yamllint fixes
- MDL fixes
- Various fixes for Amazon Linux
### Added
......
......@@ -12,11 +12,6 @@ provisioner:
name: dokken
platforms:
- name: amazonlinux
driver:
image: dokken/amazonlinux
pid_one_command: /sbin/init
- name: amazonlinux-2
driver:
image: dokken/amazonlinux-2
......@@ -74,29 +69,3 @@ platforms:
driver:
image: dokken/opensuse-leap-15
pid_one_command: /bin/systemd
suites:
- name: default
run_list:
- recipe[erlang]
- name: gui_tools
run_list:
- recipe[erlang]
attributes:
erlang:
gui_tools: true
excludes:
- centos-6
- centos-7
- name: esl
run_list:
- recipe[erlang::esl]
excludes:
- fedora-latest
- opensuse-42
- name: source
run_list:
- recipe[erlang::source]
......@@ -13,12 +13,10 @@ verifier:
name: inspec
platforms:
- name: amazonlinux
driver_config:
box: mvbcoding/awslinux
- name: amazonlinux-2
- name: centos-6
- name: centos-7
- name: debian-10
- name: debian-9
- name: debian-10
- name: fedora-latest
- name: opensuse-leap-15
......@@ -46,7 +44,6 @@ suites:
- recipe[erlang::esl]
excludes:
- fedora-latest
- amazonlinux
- amazonlinux-2
- opensuse-leap-15
......
......@@ -25,7 +25,9 @@ case node['platform_family']
when 'debian'
package 'erlang-dev'
when 'rhel', 'suse', 'fedora', 'amazon'
include_recipe 'yum-epel' if platform_family?('rhel') && node['erlang']['package']['install_epel_repository']
if platform_family?('rhel', 'amazon') && node['erlang']['package']['install_epel_repository']
include_recipe 'yum-epel'
end
package 'erlang' do
version node['erlang']['package']['version'] if node['erlang']['package']['version']
......
Markdown is supported
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