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