Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51ce2ad + 66ade41 commit dd1e77fCopy full SHA for dd1e77f
spec/acceptance/mod_authnz_ldap_spec.rb
@@ -4,6 +4,10 @@
4
# We need to restrict this test to RHEL 7.x, 8.x derived OSs as there are too many unique
5
# dependency issues to solve on all supported platforms.
6
describe 'apache::mod_authnz_ldap', if: os[:family] == 'redhat' && os[:release].to_i > 6 do
7
+ before(:each) do
8
+ run_shell('yum clean all') # To clear some issues when configuring EPEL / Optional repos
9
+ run_shell('dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y') if os[:release].to_i == 8
10
+ end
11
context 'Default mod_authnz_ldap module installation' do
12
pp = if run_shell("grep 'Oracle Linux Server' /etc/os-release", expect_failures: true).exit_status == 0
13
<<-MANIFEST
0 commit comments