This commit is contained in:
parent
a32518caf2
commit
94ebbd157b
@ -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 }}
|
||||
|
@ -41,6 +41,9 @@ haproxy:
|
||||
- scripts
|
||||
- mods
|
||||
- errors
|
||||
- static
|
||||
static:
|
||||
- security.txt
|
||||
scripts:
|
||||
haproxy:
|
||||
path: mods/haproxy.c
|
||||
|
7
states/haproxy/templates/static/security.txt.j2
Normal file
7
states/haproxy/templates/static/security.txt.j2
Normal 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
|
Loading…
Reference in New Issue
Block a user