Code Review
/
salt-formulas
/
elasticsearch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge pull request #6 from simonpasquier/stacklight
[salt-formulas/elasticsearch.git]
/
elasticsearch
/
meta
/
collectd.yml
diff --git
a/elasticsearch/meta/collectd.yml
b/elasticsearch/meta/collectd.yml
index 20952d4e74359b7791a7d4a05176f0bf40641527..9da665f2ae1f22d3a1e147538268dc417f9134c9 100644
(file)
--- a/
elasticsearch/meta/collectd.yml
+++ b/
elasticsearch/meta/collectd.yml
@@
-1,6
+1,7
@@
{%- if pillar.elasticsearch.server is defined %}
{%- from "elasticsearch/map.jinja" import server with context %}
{%- if pillar.elasticsearch.server is defined %}
{%- from "elasticsearch/map.jinja" import server with context %}
+{%- if server.get('enabled', False) %}
local_plugin:
elasticsearch_cluster:
plugin: python
local_plugin:
elasticsearch_cluster:
plugin: python
@@
-12,3
+13,4
@@
local_plugin:
elasticsearch:
match: 'java.*elasticsearch'
{%- endif %}
elasticsearch:
match: 'java.*elasticsearch'
{%- endif %}
+{%- endif %}