updated haproxy state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-09-01 14:39:43 +02:00
parent a32518caf2
commit 94ebbd157b
3 changed files with 24 additions and 0 deletions

View File

@ -13,6 +13,20 @@ haproxy-maps-{{ map }}:
- service: haproxy-service
{% endfor %}
{% for static in haproxy.static %}
haproxy-static-{{ static }}:
file.managed:
- name: {{ haproxy.config.dir }}/static/{{ static }}
- source: salt://haproxy/templates/static/{{ static }}.j2
- user: {{ haproxy.config.user }}
- group: {{ haproxy.config.group }}
- mode: "0600"
- template: jinja
- watch_in:
- service: haproxy-service
{% endfor %}
haproxy-config-main:
file.managed:
- name: {{ haproxy.config.dir }}/{{ haproxy.config.configfile }}

View File

@ -41,6 +41,9 @@ haproxy:
- scripts
- mods
- errors
- static
static:
- security.txt
scripts:
haproxy:
path: mods/haproxy.c

View File

@ -0,0 +1,7 @@
Contact: mailto:contact@paulbsd.com
Expires: 2024-12-31T23:00:00.000Z
Encryption: https://www.paulbsd.com/paulbsd.public.asc
Acknowledgments: https://www.paulbsd.com/acknowledgments.html
Preferred-Languages: en, fr
Policy: https://www.paulbsd.com/policy.html
Hiring: https://blowjob.ovh