[Ovirt-devel] [PATCH server] set postgres service to check init script status

Mohammed Morsi mmorsi at redhat.com
Mon Jun 22 21:54:24 UTC 2009


Joey Boggs wrote:
> ignore the previous postgres patch and try this one instead
>
>
> ---
>  installer/modules/ovirt/manifests/postgres.pp |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp
> index 6620a88..c46b360 100644
> --- a/installer/modules/ovirt/manifests/postgres.pp
> +++ b/installer/modules/ovirt/manifests/postgres.pp
> @@ -41,7 +41,8 @@ class postgres::bundled{
>          service {"postgresql" :
>  		ensure => running,
>  		enable => true,
> -		require => Single_exec[initialize_db]
> +		require => Single_exec[initialize_db],
> +                hasstatus => true
>          }
>  
>          single_exec {"create_ovirt_db":
>   
The problem has not appear again since this patch has been applied so
ACK. Appreciate the help.

    -Mo




More information about the ovirt-devel mailing list