mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-17 10:10:27 +00:00

Add centos 8 to osfingermap add oracle linux 8 to osfingermap moved RedHat/CentOS to osmap and osfingermap to accomodate changes in package provider versionlock enable centos-centos-8-master-py3 remove hardcoded packages yum-plugin-versionlock was hardcoded for all redhat versions, which is removed with centos 8. the package alien has a depency on debhelper which is broken in Centos-8 add share folder testing Co-authored-by: Imran Iqbal <myii@users.noreply.github.com>
35 lines
573 B
Ruby
35 lines
573 B
Ruby
# frozen_string_literal: true
|
|
|
|
### WANTED/REQUIRED
|
|
control 'Wanted/Required gems' do
|
|
title 'should be installed'
|
|
|
|
wanted = %w[
|
|
progressbar
|
|
minitest
|
|
]
|
|
case platform[:name]
|
|
when 'centos', 'amazon', 'oracle'
|
|
wanted.delete('minitest')
|
|
end
|
|
|
|
wanted.each do |p|
|
|
describe gem(p) do
|
|
it { should be_installed }
|
|
end
|
|
end
|
|
end
|
|
|
|
### UNWANTED
|
|
control 'Unwanted gems' do
|
|
title 'should be uninstalled'
|
|
%w[
|
|
diff-lcs
|
|
kwalify
|
|
kitchen-vagrant
|
|
].each do |p|
|
|
describe gem(p) do
|
|
it { should_not be_installed }
|
|
end
|
|
end
|
|
end
|