From e3bd0e42652f5e011958714b98105e3b5bd19d15 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Wed, 1 Oct 2025 13:57:29 +0200 Subject: [PATCH] fix parameter name and location see https://gitlab.confdroid.com/internal/confdroid_management/-/issues/235 --- manifests/params.pp | 5 +++-- templates/{ => server/pghba}/pg_hba.conf.erb | 0 templates/{ => server/pghba}/pg_hba_rule.conf.erb | 0 3 files changed, 3 insertions(+), 2 deletions(-) rename templates/{ => server/pghba}/pg_hba.conf.erb (100%) rename templates/{ => server/pghba}/pg_hba_rule.conf.erb (100%) diff --git a/manifests/params.pp b/manifests/params.pp index a47b23a..5177ffc 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -57,8 +57,9 @@ class postgresql_cd::params ( $pl_data_dir = '/var/lib/pgsql/data/' # files - $pl_pg_hba_conf = "${pl_data_dir}/pg_hba.conf" - $pl_pg_hba_rule_conf = 'postgresql_cd/pg_hba_rule.conf.erb' + $pl_pg_hba_conf = "${pl_data_dir}/pg_hba.conf" + $pl_pg_hba_rule_conf = 'postgresql_cd/server/pghba/pg_hba_rule.conf.erb' + $pl_pg_hba_conf_erb = 'postgresql_cd/server/pghba/pg_hba.conf.erb' # includes must be last include postgresql_cd::main::config diff --git a/templates/pg_hba.conf.erb b/templates/server/pghba/pg_hba.conf.erb similarity index 100% rename from templates/pg_hba.conf.erb rename to templates/server/pghba/pg_hba.conf.erb diff --git a/templates/pg_hba_rule.conf.erb b/templates/server/pghba/pg_hba_rule.conf.erb similarity index 100% rename from templates/pg_hba_rule.conf.erb rename to templates/server/pghba/pg_hba_rule.conf.erb