Code Review
/
salt-formulas
/
influxdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Optimize kitchen tests for Travis CI and fix test repo
[salt-formulas/influxdb.git]
/
influxdb
/
init.sls
diff --git
a/influxdb/init.sls
b/influxdb/init.sls
index c4499ccdadb7df584bb7cfcf8f26dd065fd55a09..95c77310a5c33661b97867565e061657e3abf18b 100644
(file)
--- a/
influxdb/init.sls
+++ b/
influxdb/init.sls
@@
-1,5
+1,12
@@
-
-{% if pillar.influxdb.server is defined %}
+{%- if pillar.influxdb is defined %}
include:
include:
+{%- if pillar.influxdb.server is defined %}
- influxdb.server
- influxdb.server
-{% endif %}
+{%- endif %}
+{%- if pillar.influxdb.client is defined %}
+- influxdb.client
+{%- endif %}
+{%- if pillar.influxdb.relay is defined %}
+- influxdb.relay
+{%- endif %}
+{%- endif %}