[PATCH aeolus-configure] BZ# 768131: Configure should set owner of pg_hba.conf to postgres
John Eckersberg
jeckersb at redhat.com
Fri Dec 16 18:57:05 UTC 2011
On Thu, 15 Dec 2011 15:53:17 -0500, Jason Guiditta <jguiditt at redhat.com> wrote:
> 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
>
ACK!
notice: /File[/var/lib/pgsql/data/pg_hba.conf]/owner: owner changed 'root' to 'postgres'
notice: /File[/var/lib/pgsql/data/pg_hba.conf]/group: group changed 'root' to 'postgres'
notice: /Stage[main]/Postgres::Server/Service[postgresql]: Triggered 'refresh' from 2 events
More information about the aeolus-devel
mailing list