diff --git a/doc/puppet_classes/postgresql_cd_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/postgresql_cd_3A_3Amain_3A_3Afiles.html index 1b6ae22..2a4704c 100644 --- a/doc/puppet_classes/postgresql_cd_3A_3Amain_3A_3Afiles.html +++ b/doc/puppet_classes/postgresql_cd_3A_3Amain_3A_3Afiles.html @@ -105,7 +105,21 @@ 7 8 9 -10 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24
# File 'manifests/main/files.pp', line 6
@@ -113,7 +127,21 @@
class postgresql_cd::main::files (
) inherits postgresql_cd::params {
- require postgresql_cd::main::dirs
+ if $fqdn == $pl_server_fqdn {
+ 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'),
+ }
+ }
}