Add support for elasticsearch cluster.
We need to expand our elasticsearch install base. Update puppet to make this possible. Change-Id: Id0dae839b12ebf47715cf40a363832e0f661a94f Reviewed-on: https://review.openstack.org/33910 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
ce79dcb720
commit
ae73e18646
|
@ -15,7 +15,7 @@
|
|||
# Class to install kibana frontend to logstash.
|
||||
#
|
||||
class kibana (
|
||||
$elasticsearch_host = 'localhost'
|
||||
$discover_node = 'localhost'
|
||||
) {
|
||||
|
||||
group { 'kibana':
|
||||
|
|
|
@ -7,7 +7,7 @@ module KibanaConfig
|
|||
# Your elastic search server(s). This may be set as an array for round robin
|
||||
# load balancing
|
||||
# Elasticsearch = ["elasticsearch1:9200","elasticsearch2:9200"]
|
||||
Elasticsearch = "<%= scope.lookupvar("::kibana::elasticsearch_host") %>:9200"
|
||||
Elasticsearch = "<%= scope.lookupvar("::kibana::discover_node") %>:9200"
|
||||
|
||||
#Set the Net::HTTP read/open timeouts for the connection to the ES backend
|
||||
ElasticsearchTimeout = 500
|
||||
|
|
Loading…
Reference in New Issue