From 9c897b40a13b043809eee2f4deda36f906baaec4 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sat, 22 Feb 2025 14:07:57 +0100 Subject: [PATCH] add option for backend user list --- manifests/params.pp | 2 +- templates/haproxy_head.erb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 2f203e0..ab22b29 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -108,7 +108,7 @@ $hy_use_tcplog = true, $hy_use_httplog = false, $hy_use_dontlognull = true, $hy_manage_be_users = false, -$hy_be_userlist = '#', +$hy_be_userlist = '####', ) { diff --git a/templates/haproxy_head.erb b/templates/haproxy_head.erb index d5f8073..02ccb16 100644 --- a/templates/haproxy_head.erb +++ b/templates/haproxy_head.erb @@ -65,6 +65,7 @@ listen stats stats admin if TRUE # Allow admin actions if logged in <% if $hy_manage_be_users == true -%> + # <%= @hy_be_userlist %> <% end -%>