target => 'pg-backup',
}
- postgres::cluster::hba_entry { 'backup-replication':
+ postgres::cluster::hba_entry { "backup-replication::${pg_version}::${pg_cluster}":
pg_version => $pg_version,
pg_cluster => $pg_cluster,
pg_port => $pg_port,
}
if ($address) {
- ferm::rule::simple { "postgres::cluster::hba_entry::${pg_version}::${pg_cluster}::${name}":
+ ferm::rule::simple { "postgres::cluster::hba_entry::${name}":
description => "allow access to pg${pg_version}/${pg_cluster}: ${name}",
saddr => $address,
chain => "pg-${pg_port}",
}
}
- @concat::fragment { "postgres::cluster::pg_hba::${pg_version}::${pg_cluster}::${name}":
+ @concat::fragment { "postgres::cluster::pg_hba::${name}":
tag => "postgres::cluster::${pg_version}::${pg_cluster}::hba",
target => "postgres::cluster::${pg_version}::${pg_cluster}::hba",
order => $order,