[PATCH aeolus-configure] BZ# 768131: Configure should set owner of pg_hba.conf to postgres

Jason Guiditta jguiditt at redhat.com
Thu Dec 15 20:53:17 UTC 2011


https://bugzilla.redhat.com/show_bug.cgi?id=768131

Looks like we were doing this in the ssl-enabled version, just not
regular setup.
---
 recipes/aeolus/manifests/conductor.pp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes/aeolus/manifests/conductor.pp b/recipes/aeolus/manifests/conductor.pp
index 11acb0d..b844707 100644
--- a/recipes/aeolus/manifests/conductor.pp
+++ b/recipes/aeolus/manifests/conductor.pp
@@ -105,6 +105,8 @@ class aeolus::conductor inherits aeolus {
       file { "/var/lib/pgsql/data/pg_hba.conf":
                source => "puppet:///modules/aeolus/pg_hba.conf",
                require => Exec["pginitdb"],
+               owner   => 'postgres',
+               group   => 'postgres',
                notify  => Service['postgresql']}
     }
     postgres::user{"aeolus":
-- 
1.7.7.4




More information about the aeolus-devel mailing list