formula-haproxy/haproxy/install.sls
Eric Veiras Galisson 2b83ca0860 refactoring code to use map.jinja for config values
at the moment only Debian managed, FreeBSD exception still in state
2017-10-31 14:41:54 +01:00

12 lines
290 B
Plaintext

{% from "haproxy/map.jinja" import haproxy with context %}
haproxy.install:
pkg.installed:
- name: {{ haproxy.package }}
{% if salt['pillar.get']('haproxy:require') %}
- require:
{% for item in salt['pillar.get']('haproxy:require') %}
- {{ item }}
{% endfor %}
{% endif %}