X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpostgres%2Fmanifests%2Fcluster.pp;fp=modules%2Fpostgres%2Fmanifests%2Fcluster.pp;h=1f639cda88c5f3928d461bb40b26194a8dd6a8f3;hb=6f0519ea008323e67f933fd1168c6c906f2c289d;hp=92f87d1608e1c26bbf1963189980b2ce89ab764b;hpb=8199281b7f26f447723611cff0f7e3057d1e97a8;p=mirror%2Fdsa-puppet.git diff --git a/modules/postgres/manifests/cluster.pp b/modules/postgres/manifests/cluster.pp index 92f87d160..1f639cda8 100644 --- a/modules/postgres/manifests/cluster.pp +++ b/modules/postgres/manifests/cluster.pp @@ -86,6 +86,14 @@ define postgres::cluster( order => '00', content => template('postgres/cluster/pg_hba.conf-head.erb'), } + postgres::cluster::hba_entry { 'local-connections': + pg_port => $real_port, + database => 'all', + user => 'all', + address => ['127.0.0.1', '::1'], + order => '30', + firewall => false, + } Concat::Fragment <| tag == "postgres::cluster::${real_version}::${real_cluster}::hba" |> } }