mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 10:25:23 +00:00
es java options added
This commit is contained in:
parent
1e143a4533
commit
60abc5b9fb
@ -10,6 +10,7 @@ class NoAliasDumper(yaml.SafeDumper):
|
||||
conf_path = '/etc/elasticsearch/'
|
||||
log_path = '/var/log/elasticsearch/'
|
||||
data_path = '/var/lib/elasticsearch/'
|
||||
es_java_opts = pillar('elastic:es_java_opts', '')
|
||||
|
||||
packages_es = pillar('gentoo:portage:packages:app-misc/elasticsearch', {})
|
||||
es_version = packages_es.get('version', '=7.0.0')
|
||||
@ -149,7 +150,7 @@ File.managed(
|
||||
template='jinja', source="salt://elasticsearch/files/elasticsearch.confd.tpl",
|
||||
defaults={
|
||||
'conf_dir': conf_path, 'log_dir': log_path, 'data_dir': data_dir,
|
||||
'es_java_opts': '', 'l_nofile': l_nofile, 'l_memlock': l_memlock,
|
||||
'es_java_opts': es_java_opts , 'l_nofile': l_nofile, 'l_memlock': l_memlock,
|
||||
'max_map_count': max_map_count, 'max_threads': max_threads, 'es_startup_sleep_time': 10})
|
||||
|
||||
if tls:
|
||||
|
Loading…
Reference in New Issue
Block a user