2b83ca0860
at the moment only Debian managed, FreeBSD exception still in state
11 lines
350 B
Django/Jinja
11 lines
350 B
Django/Jinja
{% 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')) %}
|
|
|