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

Joey Boggs jboggs at redhat.com
Sat Jun 20 01:57:14 UTC 2009


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




More information about the ovirt-devel mailing list