14 lines
417 B
Django/Jinja
14 lines
417 B
Django/Jinja
{% set haproxy = salt['grains.filter_by']({
|
|
'default': {
|
|
'package': 'haproxy',
|
|
'config_file': '/etc/haproxy/haproxy.cfg',
|
|
'config_file_source': 'salt://haproxy/templates/haproxy.jinja',
|
|
'user': 'root',
|
|
'group': 'root',
|
|
'service': 'haproxy',
|
|
},
|
|
'FreeBSD': {
|
|
'group': 'wheel',
|
|
},
|
|
}, merge=salt['pillar.get']('haproxy:lookup'), base='default') %}
|
|
|