default.rb 1.52 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
if node['platform_version'] == '16.04'
	default['tomcat']['base_version'] = 8
	default['java']['jdk_version'] = 8
else
	default['tomcat']['base_version'] = 6
	default['java']['jdk_version'] = 7
	default['java']['install_flavor'] = 'oracle'
	default['java']['oracle']['accept_oracle_download_terms'] = true
end

default['tomcat']['base_instance'] = "tomcat#{node['tomcat']['base_version']}"
default['tomcat']['packages'] = ["tomcat#{node['tomcat']['base_version']}"]
default['tomcat']['deploy_manager_packages'] = ["tomcat#{node['tomcat']['base_version']}-admin"]
default['tomcat']['user'] = "tomcat#{node['tomcat']['base_version']}"
default['tomcat']['group'] = "tomcat#{node['tomcat']['base_version']}"
default['tomcat']['home'] = "/usr/share/tomcat#{node['tomcat']['base_version']}"
default['tomcat']['base'] = "/var/lib/tomcat#{node['tomcat']['base_version']}"
default['tomcat']['config_dir'] = "/etc/tomcat#{node['tomcat']['base_version']}"
default['tomcat']['log_dir'] = "/var/log/tomcat#{node['tomcat']['base_version']}"
default['tomcat']['tmp_dir'] = "/tmp/tomcat#{node['tomcat']['base_version']}-tmp"
default['tomcat']['work_dir'] = "/var/cache/tomcat#{node['tomcat']['base_version']}"
default['tomcat']['context_dir'] = "#{node['tomcat']['config_dir']}/Catalina/localhost"
default['tomcat']['webapp_dir'] = "/var/lib/tomcat#{node['tomcat']['base_version']}/webapps"

25
default['typo3_solr']['solr']['solr_home'] = '/srv/solr'
26
default['typo3_solr']['solr']['tika_home'] = '/srv/tika'
27
default['typo3_solr']['solr']['systemd'] = '/lib/systemd/system'