Merge "Add template support for the path.data"
This commit is contained in:
commit
1bc472e79c
@ -65,6 +65,14 @@ class elasticsearch (
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if 'path.data' in $es_template_config {
|
||||||
|
file { $es_template_config['path.data']:
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'elasticsearch',
|
||||||
|
require => Package['elasticsearch'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
file { '/etc/elasticsearch':
|
file { '/etc/elasticsearch':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
|
@ -178,6 +178,9 @@ indices.memory.index_buffer_size: "<%= es_template_config['indices.memory.index_
|
|||||||
# space on creation. For example:
|
# space on creation. For example:
|
||||||
#
|
#
|
||||||
# path.data: /path/to/data1,/path/to/data2
|
# path.data: /path/to/data1,/path/to/data2
|
||||||
|
<% if es_template_config.has_key?('path.data') then -%>
|
||||||
|
path.data: "<%= es_template_config['path.data'] %>"
|
||||||
|
<% end -%>
|
||||||
|
|
||||||
# Path to temporary files:
|
# Path to temporary files:
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user