add file control for postgresql.conf
This commit is contained in:
@@ -11,7 +11,7 @@ class postgresql_cd::main::files (
|
||||
require postgresql_cd::main::dirs
|
||||
|
||||
file { '/var/lib/pgsql/data/pg_hba.conf':
|
||||
ensure => file,
|
||||
ensure => file,
|
||||
owner => 'postgres',
|
||||
group => 'postgres',
|
||||
mode => '0600',
|
||||
@@ -22,5 +22,18 @@ class postgresql_cd::main::files (
|
||||
content => template('postgresql_cd/pg_hba.conf.erb'),
|
||||
notify => Service[$pl_service],
|
||||
}
|
||||
|
||||
file { '/var/lib/pgsql/data/postgresql.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/postgresql.conf.erb'),
|
||||
notify => Service[$pl_service],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user