From c2a75fae6bfab8d17e97429d027514b17b840e47 Mon Sep 17 00:00:00 2001 From: Danny Smit Date: Tue, 2 Apr 2024 13:28:37 +0200 Subject: [PATCH] feat: support for debian-12 --- tomcat/osfamilymap.yaml | 22 ++++++++++----------- tomcat/osfingermap.yaml | 44 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 12 deletions(-) diff --git a/tomcat/osfamilymap.yaml b/tomcat/osfamilymap.yaml index 9f8a5b0..7eb0e0c 100644 --- a/tomcat/osfamilymap.yaml +++ b/tomcat/osfamilymap.yaml @@ -2,24 +2,24 @@ # vim: ft=yaml --- Debian: - ver: 9 - pkg: tomcat9 + ver: 10 + pkg: tomcat10 native_pkg: libtcnative-1 - manager_pkg: tomcat9-admin - common_pkg: tomcat9-common + manager_pkg: tomcat10-admin + common_pkg: tomcat10-common with_haveged: true haveged_enabled: true - conf_dir: /etc/tomcat9 - main_config: /etc/default/tomcat9 + conf_dir: /etc/tomcat10 + main_config: /etc/default/tomcat10 main_config_template: salt://tomcat/files/tomcat-default-Debian.template - service: tomcat9 + service: tomcat10 user: tomcat group: tomcat java_home: /usr/lib/jvm/default-java - catalina_base: /var/lib/tomcat9 - catalina_home: /usr/share/tomcat9 - catalina_pid: /var/run/tomcat9.pid - catalina_tmpdir: /var/cache/tomcat9/temp + catalina_base: /var/lib/tomcat10 + catalina_home: /usr/share/tomcat10 + catalina_pid: /var/run/tomcat10.pid + catalina_tmpdir: /var/cache/tomcat10/temp RedHat: native_pkg: tomcat-native diff --git a/tomcat/osfingermap.yaml b/tomcat/osfingermap.yaml index 9c8dd5a..99c6e14 100644 --- a/tomcat/osfingermap.yaml +++ b/tomcat/osfingermap.yaml @@ -2,7 +2,49 @@ # vim: ft=yaml --- # os: Debian -Debian-10: {} +Debian-12: + java_opts: + - 'Djava.awt.headless=true' + - 'Xmx128m' + - 'XX:+UseConcMarkSweepGC' +Debian-11: + ver: 9 + pkg: tomcat9 + native_pkg: libtcnative-1 + manager_pkg: tomcat9-admin + common_pkg: tomcat9-common + with_haveged: true + haveged_enabled: true + conf_dir: /etc/tomcat9 + main_config: /etc/default/tomcat9 + main_config_template: salt://tomcat/files/tomcat-default-Debian.template + service: tomcat9 + user: tomcat + group: tomcat + java_home: /usr/lib/jvm/default-java + catalina_base: /var/lib/tomcat9 + catalina_home: /usr/share/tomcat9 + catalina_pid: /var/run/tomcat9.pid + catalina_tmpdir: /var/cache/tomcat9/temp +Debian-10: + ver: 9 + pkg: tomcat9 + native_pkg: libtcnative-1 + manager_pkg: tomcat9-admin + common_pkg: tomcat9-common + with_haveged: true + haveged_enabled: true + conf_dir: /etc/tomcat9 + main_config: /etc/default/tomcat9 + main_config_template: salt://tomcat/files/tomcat-default-Debian.template + service: tomcat9 + user: tomcat + group: tomcat + java_home: /usr/lib/jvm/default-java + catalina_base: /var/lib/tomcat9 + catalina_home: /usr/share/tomcat9 + catalina_pid: /var/run/tomcat9.pid + catalina_tmpdir: /var/cache/tomcat9/temp Debian-9: ver: 8 pkg: tomcat8