paulbsd-salt/states/haproxy/service.sls
Paul Lecuq d47e39945a
All checks were successful
continuous-integration/drone/push Build is passing
updated haproxy state
2024-09-30 18:58:06 +02:00

13 lines
327 B
Plaintext

---
{%- from "haproxy/map.jinja" import haproxy with context %}
haproxy-service:
service.running:
- name: haproxy
- enable: true
- reload: true
- check_cmd:
- haproxy -f {{ haproxy.config.dir }}/{{ haproxy.config.configfile }} -c
{% if haproxy.acme %}
- watch:
- pki: pki-fetched-*
{% endif %}