Joey Boggs
2009-Jun-20 01:57 UTC
[Ovirt-devel] [PATCH server] set postgres service to check init script status
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":
--
1.6.2.2
Mohammed Morsi
2009-Jun-22 21:54 UTC
[Ovirt-devel] [PATCH server] set postgres service to check init script status
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