formula-prometheus/prometheus/map.jinja

17 lines
481 B
Text
Raw Normal View History

{% set server = salt['grains.filter_by']({
'default': {
'dir': {
'config': '/srv/volumes/prometheus-config',
'config_in_container': '/opt/prometheus/config'
},
},
}, merge=salt['pillar.get']('prometheus:server')) %}
{% set alertmanager = salt['grains.filter_by']({
'default': {
'dir': {
'config': '/srv/volumes/prometheus-config',
},
},
}, merge=salt['pillar.get']('prometheus:alertmanager')) %}