From 9714e4af0f1eb1a3d1d84ea4806bbe7d05a501a0 Mon Sep 17 00:00:00 2001 From: John Mitsch Date: Fri, 24 May 2019 18:43:11 +0000 Subject: [PATCH] Fixes #26872 - Adds postgres config file to backup (cherry picked from commit 632c3324ef756e96d8cdc94adb1118ec0862cae3) --- definitions/features/foreman_database.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/definitions/features/foreman_database.rb b/definitions/features/foreman_database.rb index 3aeeab535..3e614a351 100644 --- a/definitions/features/foreman_database.rb +++ b/definitions/features/foreman_database.rb @@ -15,6 +15,12 @@ def configuration @configuration || load_configuration end + def config_files + [ + '/var/lib/pgsql/data/postgresql.conf' + ] + end + def services [ system_service('postgresql', 10, :component => 'foreman',