From 3c762c82ff074e818b52c0c243b1ff152ca99b4f Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Wed, 1 Oct 2025 18:14:35 +0200 Subject: [PATCH 1/2] add extra line for space see https://gitlab.confdroid.com/internal/confdroid_management/-/issues/235 --- templates/server/pghba/pg_hba_rule.conf.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/server/pghba/pg_hba_rule.conf.erb b/templates/server/pghba/pg_hba_rule.conf.erb index 896fd3d..ed652b8 100644 --- a/templates/server/pghba/pg_hba_rule.conf.erb +++ b/templates/server/pghba/pg_hba_rule.conf.erb @@ -1,4 +1,3 @@ + # description: <%=@name%> <%= @pl_auth_type %> <%= @pl_auth_database %> <%= @pl_auth_user %> <%= @pl_auth_address %> <%=@pl_auth_method %> <%=@psql_auth_option%> - - \ No newline at end of file From 6ae49bed9cd9ce4f3da1cc494746d7757ecc8bc0 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Wed, 1 Oct 2025 18:15:22 +0200 Subject: [PATCH 2/2] fix variable see https://gitlab.confdroid.com/internal/confdroid_management/-/issues/235 --- templates/server/pghba/pg_hba_rule.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/server/pghba/pg_hba_rule.conf.erb b/templates/server/pghba/pg_hba_rule.conf.erb index ed652b8..8d22400 100644 --- a/templates/server/pghba/pg_hba_rule.conf.erb +++ b/templates/server/pghba/pg_hba_rule.conf.erb @@ -1,3 +1,3 @@ - + # description: <%=@name%> -<%= @pl_auth_type %> <%= @pl_auth_database %> <%= @pl_auth_user %> <%= @pl_auth_address %> <%=@pl_auth_method %> <%=@psql_auth_option%> +<%= @pl_auth_type %> <%= @pl_auth_database %> <%= @pl_auth_user %> <%= @pl_auth_address %> <%=@pl_auth_method %> <%=@ql_auth_option%>