-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
Hi all,
Would it be possible to add support for crt-lists as a state for haproxy. Maybe something like this.
/etc/haproxy/cert-list.txt:
file.managed:
- source: salt://haproxy/files/cert-list.txt
- user: haproxy
- group: haproxy
- mode: 640
- template: jinja
- defaults:
certlist: {{ salt['pillar.get']('haproxy:certlist') }}and the template file would look something like this
{% for domain, cert_location in certlist.iteritems() %}
{{ cert_location }} {{ domain }}
{% endfor %}
Thanks
FintanMetadata
Metadata
Assignees
Labels
No labels