12 lines
290 B
Plaintext
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 %}
|