Add salt service meta, for influxdb state execution
Change-Id: Iecd1287fa82948e552cc3c17c376d91061b67ab7
diff --git a/influxdb/meta/salt.yml b/influxdb/meta/salt.yml
new file mode 100644
index 0000000..969c0d8
--- /dev/null
+++ b/influxdb/meta/salt.yml
@@ -0,0 +1,14 @@
+
+{%- if pillar.get('influxdb', {}).get('client', {}).server is defined %}
+minion:
+ influxdb:
+ {%- from "influxdb/map.jinja" import client with context %}
+ host: {{ client.server.get('host') }}
+ port: {{ client.server.get('port') }}
+ {%- if client.server.user is defined %}
+ user: {{ client.server.user }}
+ {%- endif %}
+ {%- if client.server.password is defined %}
+ password: {{ client.server.password }}
+ {%- endif %}
+{%- endif %}