[Ovirt-devel] [PATCH server] set postgres service to check init script status
Joey Boggs
jboggs at redhat.com
Mon Jun 22 22:43:12 UTC 2009
On 06/22/2009 05:54 PM, Mohammed Morsi wrote:
> 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
>
pushed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090622/2fca5eb8/attachment.htm>
More information about the ovirt-devel
mailing list