aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/manifests/pg_hba.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postgresql/manifests/pg_hba.pp')
-rw-r--r--modules/postgresql/manifests/pg_hba.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/postgresql/manifests/pg_hba.pp b/modules/postgresql/manifests/pg_hba.pp
new file mode 100644
index 00000000..1ad2fb37
--- /dev/null
+++ b/modules/postgresql/manifests/pg_hba.pp
@@ -0,0 +1,12 @@
+class postgresql::pg_hba(
+ $conf_lines = []
+) {
+ $db = list_exported_ressources('Postgresql::Db_and_user')
+
+ $forum_lang = list_exported_ressources('Phpbb::Locale_db')
+
+ postgresql::config { "${postgresql::server::pgsql_data}/pg_hba.conf":
+ content => template('postgresql/pg_hba.conf'),
+ }
+}
+# vim: sw=2