Skip to content

Commit 319fdb7

Browse files
committed
Pin epel to address Redhat 7 issues
1 parent 5cf0f70 commit 319fdb7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spec/spec_helper_acceptance_local.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def print_parsing_errors
3131
# IPv6 is not enabled by default in the new travis-ci Trusty environment (see https://github.com/travis-ci/travis-ci/issues/8891 )
3232
c.filter_run_excluding ipv6: true if ENV['CI'] == 'true'
3333
c.before :suite do
34-
LitmusHelper.instance.run_shell('puppet module install puppet/epel') if %r{redhat|oracle}.match?(os[:family])
34+
# Pin to epel 5.x which is known to work - newer versions have file() function issues
35+
LitmusHelper.instance.run_shell('puppet module install puppet/epel --version 5.0.0') if %r{redhat|oracle}.match?(os[:family])
3536

3637
LitmusHelper.instance.apply_manifest(File.read(File.join(__dir__, 'setup_acceptance_node.pp')))
3738
end

0 commit comments

Comments
 (0)