From b41246811d7bb2b2532deeb3a901798e953f8013 Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Wed, 14 Apr 2021 23:37:45 +0200 Subject: [PATCH] net/haproxy: fix config test when service is not enabled --- net/haproxy/pkg-descr | 3 +++ .../opnsense/service/templates/OPNsense/HAProxy/haproxy.conf | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/net/haproxy/pkg-descr b/net/haproxy/pkg-descr index 2dbcc504d..685819d34 100644 --- a/net/haproxy/pkg-descr +++ b/net/haproxy/pkg-descr @@ -8,6 +8,9 @@ Plugin Changelog 3.2 +Fixed: +* fix config test when HAProxy service is not enabled + Changed: * ignore incompatible ciphersuites options when LibreSSL is used (#2013) diff --git a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf index d9923f799..5cd9e0722 100644 --- a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf +++ b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf @@ -829,7 +829,7 @@ userlist {{object.name | regex_replace ("[^A-Za-z0-9]","")}} # # NOTE: HAProxy is currently DISABLED # -{%- endif -%} +{% endif %} {#- ############################### -#} {#- GLOBAL -#}