let the state retry incase influxdb isnt fully up yet

This commit is contained in:
m0duspwnens
2021-04-29 06:43:05 -04:00
parent 454b541a2e
commit f8e01d5d53

View File

@@ -75,6 +75,10 @@ telegraf_database:
- require: - require:
- docker_container: so-influxdb - docker_container: so-influxdb
- sls: salt.python3-influxdb - sls: salt.python3-influxdb
- timeout: 30
- retry:
attempts: 5
interval: 30
{% for rp in influxdb.retention_policies.keys() %} {% for rp in influxdb.retention_policies.keys() %}
{{rp}}_retention_policy: {{rp}}_retention_policy: