Blame salt/profile/proxy/haproxy-scripts.sls
|
Christian Boltz |
866f1f |
{% for script in ['check_haproxy_config', 'grep_haproxy_config'] %}
|
|
Christian Boltz |
866f1f |
|
|
Christian Boltz |
866f1f |
/usr/local/bin/{{ script }}:
|
|
Christian Boltz |
866f1f |
file.managed:
|
|
Christian Boltz |
866f1f |
- source: salt://profile/proxy/files/{{ script }}
|
|
Christian Boltz |
866f1f |
- mode: 755
|
|
Christian Boltz |
866f1f |
|
|
Christian Boltz |
866f1f |
/etc/haproxy/{{ script }}:
|
|
Christian Boltz |
866f1f |
file.symlink:
|
|
Christian Boltz |
866f1f |
- target: /usr/local/bin/{{ script }}
|
|
Christian Boltz |
866f1f |
|
|
Christian Boltz |
866f1f |
{% endfor %}
|