Added influxdb to stacklight server model
Change-Id: Ibe6a6ce44773ebb4ff6898d2446967657adde0a6
diff --git a/classes/cluster/sl_k8s_calico/stacklight/server.yml b/classes/cluster/sl_k8s_calico/stacklight/server.yml
index f96c34f..531e283 100644
--- a/classes/cluster/sl_k8s_calico/stacklight/server.yml
+++ b/classes/cluster/sl_k8s_calico/stacklight/server.yml
@@ -1,5 +1,6 @@
classes:
- system.docker.host
+- system.linux.system.repo.influxdb
- system.linux.system.repo.tcp_elastic
# Needed to install Galera packages
- system.linux.system.repo.mcp.openstack
@@ -15,6 +16,8 @@
- system.glusterfs.server.volume.prometheus
- system.galera.server.cluster
- system.galera.server.database.grafana
+- system.influxdb.server.single
+- system.influxdb.database.stacklight
- system.salt.minion.cert.prometheus_server
- system.keepalived.cluster.instance.prometheus_server_vip
- system.prometheus.server.target.etcd
@@ -54,6 +57,9 @@
grafana_database_host: ${_param:cluster_vip_address}
grafana_database_password: ${_param:mysql_grafana_password}
grafana_database_type: mysql
+ influxdb_port: 8086
+ influxdb_admin_password: password
+ influxdb_stacklight_password: lmapass
prometheus_influxdb_url: "http://${_param:stacklight_address}:8086/"
prometheus_influxdb_db: lma
prometheus_influxdb_username: lma