From 8eae2e22e403605c8582e5994e4cb485bea03361 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 8 Jan 2025 20:13:32 +0100 Subject: [PATCH] updated haproxy state --- states/haproxy/config.sls | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/states/haproxy/config.sls b/states/haproxy/config.sls index 0c9be4d..f8cc642 100644 --- a/states/haproxy/config.sls +++ b/states/haproxy/config.sls @@ -2,9 +2,8 @@ {%- from "haproxy/map.jinja" import haproxy with context %} haproxy-errors-dir: - file.managed: - - name: {{ haproxy.config.dir }}/errors/{{ errorfile }} - - source: salt://haproxy/templates/errors/{{ errorfile }} + file.directory: + - name: {{ haproxy.config.dir }}/errors/ - user: {{ haproxy.config.user }} - group: {{ haproxy.config.group }} - mode: "0700"