2f70396a78
Change-Id: I7f146e0207ada58f0723b14d0a625a6bce67ea9f
16 lines
481 B
Django/Jinja
16 lines
481 B
Django/Jinja
{% 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')) %}
|