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,
+ 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" |>
}
Optional[Integer] $pg_port = undef,
Optional[String] $pg_cluster = undef,
Optional[String] $pg_version = undef,
- Enum['local', 'hostssl'] $connection_type = 'hostssl',
+ Enum['local', 'host', 'hostssl'] $connection_type = 'hostssl',
Variant[String,Array[String]] $database = 'sameuser',
Variant[String,Array[String]] $user = 'all',
Optional[Variant[Stdlib::IP::Address, Array[Stdlib::IP::Address]]] $address = undef,