projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move backup replication hba_entry to backup_cluster
[mirror/dsa-puppet.git]
/
modules
/
postgres
/
manifests
/
cluster.pp
diff --git
a/modules/postgres/manifests/cluster.pp
b/modules/postgres/manifests/cluster.pp
index
a57f543
..
47021ae
100644
(file)
--- a/
modules/postgres/manifests/cluster.pp
+++ b/
modules/postgres/manifests/cluster.pp
@@
-24,6
+24,9
@@
define postgres::cluster(
target => "pg-${pg_port}",
}
target => "pg-${pg_port}",
}
+ # hba entries and firewall rules
+ Postgres::Cluster::Hba_entry <<| tag == "postgres::cluster::${pg_version}::${pg_cluster}::hba::${::fqdn}" |>>
+
if $manage_hba {
concat { "postgres::cluster::${pg_version}::${pg_cluster}::hba":
path => "${confdir}/pg_hba.conf",
if $manage_hba {
concat { "postgres::cluster::${pg_version}::${pg_cluster}::hba":
path => "${confdir}/pg_hba.conf",