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

This commit is contained in:
Paul 2024-09-01 14:50:42 +02:00
parent 43b698f379
commit 9c12327b2a
2 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
--- ---
{%- from "haproxy/map.jinja" import haproxy with context %} {%- from "haproxy/map.jinja" import haproxy with context %}
{% for map in haproxy.maps %} {% for map in haproxy.config.maps %}
haproxy-maps-{{ map }}: haproxy-maps-{{ map }}:
file.managed: file.managed:
- name: {{ haproxy.config.dir }}/maps/{{ map }} - name: {{ haproxy.config.dir }}/maps/{{ map }}
@ -13,7 +13,7 @@ haproxy-maps-{{ map }}:
- service: haproxy-service - service: haproxy-service
{% endfor %} {% endfor %}
{% for static in haproxy.static %} {% for static in haproxy.config.static %}
haproxy-static-{{ static }}: haproxy-static-{{ static }}:
file.managed: file.managed:
- name: {{ haproxy.config.dir }}/static/{{ static }} - name: {{ haproxy.config.dir }}/static/{{ static }}

View File

@ -9,14 +9,6 @@ haproxy:
- libcurl4-openssl-dev - libcurl4-openssl-dev
- libmaxminddb-dev - libmaxminddb-dev
- libjansson-dev - libjansson-dev
maps:
- access
- allowhttp
- countries
- domains
- redirects
- ua
- vhosts
acme: false acme: false
hatop: hatop:
fetchurl: https://github.com/jhunt/hatop/releases/download fetchurl: https://github.com/jhunt/hatop/releases/download
@ -44,6 +36,14 @@ haproxy:
- static - static
static: static:
- security.txt - security.txt
maps:
- access
- allowhttp
- countries
- domains
- redirects
- ua
- vhosts
scripts: scripts:
haproxy: haproxy:
path: mods/haproxy.c path: mods/haproxy.c