|
38 | 38 | it { is_expected.to contain_file('auth_cas.conf').with_content(%r{CASIdleTimeout 4321}) } |
39 | 39 | end |
40 | 40 | context 'on a RedHat OS', :compile do |
41 | | - include_examples 'RedHat 6' |
| 41 | + include_examples 'RedHat 8' |
42 | 42 |
|
43 | 43 | it { is_expected.to contain_class('apache::params') } |
44 | 44 | it { is_expected.to contain_class('apache::mod::authn_core') } |
45 | 45 | it { is_expected.to contain_apache__mod('auth_cas') } |
46 | 46 | it { is_expected.to contain_package('mod_auth_cas') } |
47 | | - it { is_expected.to contain_file('auth_cas.conf').with_path('/etc/httpd/conf.d/auth_cas.conf') } |
| 47 | + it { is_expected.to contain_file('auth_cas.conf').with_path('/etc/httpd/conf.modules.d/auth_cas.conf') } |
48 | 48 | it { is_expected.to contain_file('/var/cache/mod_auth_cas/').with_owner('apache') } |
49 | 49 | it { is_expected.to contain_file('auth_cas.conf').with_content(%r{CASTimeout 1234}) } |
50 | 50 | it { is_expected.to contain_file('auth_cas.conf').with_content(%r{CASIdleTimeout 4321}) } |
|
55 | 55 | "class { 'apache': } apache::vhost { 'test.server': docroot => '/var/www/html', cas_root_proxied_as => 'http://test.server', cas_cookie_path => '/my/cas/path'} " |
56 | 56 | end |
57 | 57 |
|
58 | | - include_examples 'RedHat 6' |
| 58 | + include_examples 'RedHat 8' |
59 | 59 |
|
60 | 60 | it { is_expected.to contain_class('apache::params') } |
61 | 61 | it { is_expected.to contain_class('apache::mod::authn_core') } |
62 | 62 | it { is_expected.to contain_apache__mod('auth_cas') } |
63 | 63 | it { is_expected.to contain_package('mod_auth_cas') } |
64 | | - it { is_expected.to contain_file('auth_cas.conf').with_path('/etc/httpd/conf.d/auth_cas.conf') } |
| 64 | + it { is_expected.to contain_file('auth_cas.conf').with_path('/etc/httpd/conf.modules.d/auth_cas.conf') } |
65 | 65 | it { is_expected.to contain_file('/var/cache/mod_auth_cas/').with_owner('apache') } |
66 | 66 | it { |
67 | 67 | is_expected.to contain_concat__fragment('test.server-auth_cas').with(content: %r{^\s+CASRootProxiedAs http://test.server$}) |
|
0 commit comments