@@ -92,28 +92,28 @@ class { 'apache':
92
92
end
93
93
end
94
94
95
- if os [ :family ] == 'debian'
96
- describe 'conf_enabled => /etc/apache2/conf-enabled' do
97
- pp = <<-MANIFEST
98
- class { 'apache':
99
- purge_configs => false,
100
- conf_enabled => "/etc/apache2/conf-enabled"
101
- }
102
- MANIFEST
103
- it 'applies cleanly' do
104
- run_shell ( 'touch /etc/apache2/conf-enabled/test.conf' )
105
- apply_manifest ( pp , catch_failures : true )
106
- end
95
+ # IAC-785: The Shibboleth mod does not seem to be configured correctly on Debian 10 systems. We should reenable
96
+ # this test on Debian 10 systems once the issue has been RCA'd and resolved.
97
+ describe 'conf_enabled => /etc/apache2/conf-enabled' , if : os [ :family ] == 'debian' && os [ :release ] . to_i < 10 do
98
+ pp = <<-MANIFEST
99
+ class { 'apache':
100
+ purge_configs => false,
101
+ conf_enabled => "/etc/apache2/conf-enabled"
102
+ }
103
+ MANIFEST
104
+ it 'applies cleanly' do
105
+ run_shell ( 'touch /etc/apache2/conf-enabled/test.conf' )
106
+ apply_manifest ( pp , catch_failures : true )
107
+ end
107
108
108
- # Ensure the created file didn't disappear.
109
- describe file ( '/etc/apache2/conf-enabled/test.conf' ) do
110
- it { is_expected . to be_file }
111
- end
109
+ # Ensure the created file didn't disappear.
110
+ describe file ( '/etc/apache2/conf-enabled/test.conf' ) do
111
+ it { is_expected . to be_file }
112
+ end
112
113
113
- # Ensure the default file didn't disappear.
114
- describe file ( '/etc/apache2/conf-enabled/security.conf' ) do
115
- it { is_expected . to be_file }
116
- end
114
+ # Ensure the default file didn't disappear.
115
+ describe file ( '/etc/apache2/conf-enabled/security.conf' ) do
116
+ it { is_expected . to be_file }
117
117
end
118
118
end
119
119
0 commit comments