2017-10-31 09:09:52 -04:00
|
|
|
{% from "haproxy/map.jinja" import haproxy with context %}
|
|
|
|
|
2015-02-24 16:19:02 -05:00
|
|
|
haproxy.install:
|
|
|
|
pkg.installed:
|
2017-10-31 09:09:52 -04:00
|
|
|
- name: {{ haproxy.package }}
|
2015-07-16 22:43:19 -04:00
|
|
|
{% if salt['pillar.get']('haproxy:require') %}
|
|
|
|
- require:
|
|
|
|
{% for item in salt['pillar.get']('haproxy:require') %}
|
|
|
|
- {{ item }}
|
|
|
|
{% endfor %}
|
2015-12-27 13:51:14 -05:00
|
|
|
{% endif %}
|