add pg_hba rules
This commit is contained in:
@@ -10,18 +10,19 @@ class postgresql_cd::main::files (
|
||||
require postgresql_cd::server::initdb
|
||||
require postgresql_cd::main::dirs
|
||||
|
||||
file { '/var/lib/pgsql/data/pg_hba.conf':
|
||||
ensure => file,
|
||||
owner => 'postgres',
|
||||
group => 'postgres',
|
||||
mode => '0600',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => postgresql_db_t,
|
||||
seluser => unconfined_u,
|
||||
content => template('postgresql_cd/pg_hba.conf.erb'),
|
||||
notify => Service[$pl_service],
|
||||
}
|
||||
# outsourced to pghba::pghba for concatenation
|
||||
# file { '/var/lib/pgsql/data/pg_hba.conf':
|
||||
# ensure => file,
|
||||
# owner => 'postgres',
|
||||
# group => 'postgres',
|
||||
# mode => '0600',
|
||||
# selrange => s0,
|
||||
# selrole => object_r,
|
||||
# seltype => postgresql_db_t,
|
||||
# seluser => unconfined_u,
|
||||
# content => template('postgresql_cd/pg_hba.conf.erb'),
|
||||
# notify => Service[$pl_service],
|
||||
# }
|
||||
|
||||
file { '/var/lib/pgsql/data/postgresql.conf':
|
||||
ensure => file,
|
||||
|
||||
Reference in New Issue
Block a user