Skip to content
Snippets Groups Projects
Unverified Commit ba9cbf12 authored by Imran Iqbal's avatar Imran Iqbal
Browse files

fix(fedora): use `ver: 9` (Jasper Listener deprecated in tomcat >= 8)

parent 242f0637
Branches
No related tags found
No related merge requests found
......@@ -209,6 +209,12 @@ control 'Tomcat `map.jinja` YAML dump' do
with_haveged: true
YAML_DUMP
when 'redhat', 'fedora'
case platform[:family]
when 'redhat'
ver = 7
when 'fedora'
ver = 9
end
<<~YAML_DUMP.chomp
arch: amd64
authbind: 'no'
......@@ -379,7 +385,7 @@ control 'Tomcat `map.jinja` YAML dump' do
&quot;%{User-Agent}i&quot; %D'
- className: org.apache.catalina.authenticator.SingleSignOn
user: tomcat
ver: 7
ver: #{ver}
with_haveged: false
YAML_DUMP
when 'suse'
......
......@@ -15,7 +15,8 @@ Ubuntu: {}
Raspbian: {}
# os_family: RedHat
Fedora: {}
Fedora:
ver: 9
CentOS: {}
Amazon: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment