2017-03-09 06:12:27 -05:00
|
|
|
{% set server = salt['grains.filter_by']({
|
|
|
|
'default': {
|
|
|
|
'dir': {
|
2017-03-29 06:39:52 -04:00
|
|
|
'config': '/srv/volumes/prometheus',
|
2017-03-09 06:12:27 -05:00
|
|
|
'config_in_container': '/opt/prometheus/config'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}, merge=salt['pillar.get']('prometheus:server')) %}
|
|
|
|
|
|
|
|
{% set alertmanager = salt['grains.filter_by']({
|
|
|
|
'default': {
|
|
|
|
'dir': {
|
2017-03-29 06:39:52 -04:00
|
|
|
'config': '/srv/volumes/prometheus',
|
2017-03-09 06:12:27 -05:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}, merge=salt['pillar.get']('prometheus:alertmanager')) %}
|