2017-10-31 09:09:52 -04:00
|
|
|
{% set haproxy = salt['grains.filter_by']({
|
2017-10-31 09:23:53 -04:00
|
|
|
'default': {
|
2017-10-31 09:09:52 -04:00
|
|
|
'package': 'haproxy',
|
|
|
|
'config_file': '/etc/haproxy/haproxy.cfg',
|
|
|
|
'config_file_source': 'salt://haproxy/templates/haproxy.jinja',
|
|
|
|
'user': 'root',
|
|
|
|
'group': 'root',
|
|
|
|
'service': 'haproxy',
|
|
|
|
},
|
2017-10-31 09:23:53 -04:00
|
|
|
'FreeBSD': {
|
|
|
|
'group': 'wheel',
|
|
|
|
},
|
|
|
|
}, merge=salt['pillar.get']('haproxy:lookup'), base='default') %}
|
2017-10-31 09:09:52 -04:00
|
|
|
|