[Ovirt-devel] Re: [PATCH server] add postgres permissions requires prior to starting service

Joey Boggs jboggs at redhat.com
Tue Jun 23 20:53:06 UTC 2009


On 06/23/2009 04:51 PM, Joey Boggs wrote:
> Give this one a try which will require the user/hosts permissions to be setup prior to starting postgres
>
> ---
>   installer/modules/ovirt/manifests/postgres.pp |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp
> index c46b360..381d67c 100644
> --- a/installer/modules/ovirt/manifests/postgres.pp
> +++ b/installer/modules/ovirt/manifests/postgres.pp
> @@ -41,7 +41,7 @@ class postgres::bundled{
>           service {"postgresql" :
>   		ensure =>  running,
>   		enable =>  true,
> -		require =>  Single_exec[initialize_db],
> +		require =>  [Single_exec[initialize_db],Exec[postgres_add_localhost_trust]Exec[postgres_add_all_trust]],
>                   hasstatus =>  true
>           }
>
>    
ignore this one it's missing a comma




More information about the ovirt-devel mailing list