Skip to content

Commit

Permalink
feat(osfingermap): add settings for debian-8
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Apr 27, 2020
1 parent 58d65f9 commit 7c86d80
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
13 changes: 13 additions & 0 deletions test/integration/tomcat_install/controls/yaml_dump_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@
catalina_home = '/usr/share/tomcat9'
catalina_pid = '/var/run/tomcat9.pid'
catalina_tmpdir = '/var/cache/tomcat9/temp'
when /^8/
conf_dir = '/etc/tomcat7'
group = 'tomcat7'
main_config = '/etc/default/tomcat7'
manager_pkg = 'tomcat7-admin'
pkg = 'tomcat7'
service = 'tomcat7'
user = 'tomcat7'
ver = 7
catalina_base = '/var/lib/tomcat7'
catalina_home = '/usr/share/tomcat7'
catalina_pid = '/var/run/tomcat7.pid'
catalina_tmpdir = '/var/cache/tomcat7/temp'
else
conf_dir = '/etc/tomcat8'
group = 'tomcat8'
Expand Down
14 changes: 13 additions & 1 deletion tomcat/osfingermap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@ Debian-10:
catalina_pid: /var/run/tomcat9.pid
catalina_tmpdir: /var/cache/tomcat9/temp
Debian-9: {}
Debian-8: {}
Debian-8:
ver: 7
pkg: tomcat7
manager_pkg: tomcat7-admin
conf_dir: /etc/tomcat7
main_config: /etc/default/tomcat7
service: tomcat7
user: tomcat7
group: tomcat7
catalina_base: /var/lib/tomcat7
catalina_home: /usr/share/tomcat7
catalina_pid: /var/run/tomcat7.pid
catalina_tmpdir: /var/cache/tomcat7/temp
Debian-7:
pkg: tomcat7
manager_pkg: tomcat7-admin
Expand Down

0 comments on commit 7c86d80

Please sign in to comment.