formula-haproxy/haproxy/map.jinja

12 lines
350 B
Plaintext
Raw Normal View History

{% set haproxy = salt['grains.filter_by']({
'Debian': {
'package': 'haproxy',
'config_file': '/etc/haproxy/haproxy.cfg',
'config_file_source': 'salt://haproxy/templates/haproxy.jinja',
'user': 'root',
'group': 'root',
'service': 'haproxy',
},
}, merge=salt['pillar.get']('haproxy:lookup')) %}