Skip to content

(FM-8029) Add RedHat 8 support #1199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"operatingsystemrelease": [
"5",
"6",
"7"
"7",
"8"
]
},
{
Expand Down
111 changes: 0 additions & 111 deletions spec/acceptance/locales_spec.rb

This file was deleted.

27 changes: 0 additions & 27 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,6 @@ def idempotent_apply(hosts, manifest, opts = {}, &block)
RSpec.configure do |c|
# Readable test descriptions
c.formatter = :documentation

# detect the situation where PUP-5016 is triggered and skip the idempotency tests in that case
# also note how fact('puppetversion') is not available because of PUP-4359
if os[:family] == 'debian' && os[:release].to_i == 8 && shell('puppet --version').stdout =~ %r{^4\.2}
c.filter_run_excluding skip_pup_5016: true
end

# Configure all nodes in nodeset
c.before :suite do
run_puppet_access_login(user: 'admin') if pe_install? && (Gem::Version.new(puppet_version) >= Gem::Version.new('5.0.0'))
hosts.each do |host|
# This will be removed, this is temporary to test localisation.

if os[:family] == 'debian'
# install language on debian systems
install_language_on(host, 'ja_JP.utf-8') if not_controller(host)
# This will be removed, this is temporary to test localisation.
end
# Required for binding tests.
if os[:family] == 'redhat'
if os[:release].to_i == 7 || os[:family] == 'fedora'
shell('yum install -y bzip2')
end
end
on host, puppet('module', 'install', 'stahnma/epel')
end
end
end

shared_examples 'a idempotent resource' do
Expand Down