We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 Fintan
The text was updated successfully, but these errors were encountered:
The pillar data could look like this.
certlist: www.example*: /etc/haproxy/certs/www.example.com.pem *.acme.com: /etc/haproxy/certs/acme.com.pem
Sorry, something went wrong.
{{ domain }} is optional, so this is bad idea.
{{ domain }}
No branches or pull requests
Hi all,
Would it be possible to add support for crt-lists as a state for haproxy. Maybe something like this.
and the template file would look something like this
The text was updated successfully, but these errors were encountered: