Fixes issue 70, Improves plugin management, Refactoring, Updates tests, Introduces multiple data dir support
This commit is contained in:
parent
40fd3516c4
commit
0fd1f34852
16 changed files with 216 additions and 49 deletions
|
|
@ -9,7 +9,7 @@ ES_HOME={{es_home}}
|
|||
CONF_DIR={{conf_dir}}
|
||||
|
||||
# Elasticsearch data directory
|
||||
DATA_DIR={{data_dir}}
|
||||
DATA_DIR={{ data_dirs | array_to_str }}
|
||||
|
||||
# Elasticsearch logs directory
|
||||
LOG_DIR={{log_dir}}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ node.name: {{inventory_hostname}}-{{es_instance_name}}
|
|||
# Path to directory containing configuration (this file and logging.yml):
|
||||
path.conf: {{ conf_dir }}
|
||||
|
||||
path.data: {{ data_dir }}
|
||||
path.data: {{ data_dirs | array_to_str }}
|
||||
|
||||
path.work: {{ work_dir }}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
# Modified by Nicolas Huray for Elasticsearch <nicolas.huray@gmail.com>.
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: elasticsearch
|
||||
# Provides: {{es_instance_name}}_{{default_file | basename}}
|
||||
# Required-Start: $network $remote_fs $named
|
||||
# Required-Stop: $network $remote_fs $named
|
||||
# Default-Start: 2 3 4 5
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ After=network-online.target
|
|||
[Service]
|
||||
Environment=ES_HOME={{es_home}}
|
||||
Environment=CONF_DIR={{conf_dir}}
|
||||
Environment=DATA_DIR={{data_dir}}
|
||||
Environment=DATA_DIR={{ data_dirs | array_to_str }}
|
||||
Environment=LOG_DIR={{log_dir}}
|
||||
Environment=PID_DIR={{pid_dir}}
|
||||
EnvironmentFile=-{{instance_default_file}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue