[Ovirt-devel] [PATCH server] Start db-omatic on install

Ian Main imain at redhat.com
Fri Feb 13 03:28:17 UTC 2009


This patch just makes sure db-omatic starts as well as all the other
ovirt services.

Signed-off-by: Ian Main <imain at redhat.com>
---
 installer/modules/ovirt/manifests/ovirt.pp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/installer/modules/ovirt/manifests/ovirt.pp b/installer/modules/ovirt/manifests/ovirt.pp
index f3d69cb..c81b6f2 100644
--- a/installer/modules/ovirt/manifests/ovirt.pp
+++ b/installer/modules/ovirt/manifests/ovirt.pp
@@ -147,6 +147,12 @@ class ovirt::setup {
                 ensure => running
         }
 
+	service {"ovirt-db-omatic" :
+                enable => true,
+		require => [Package[ovirt-server],Single_Exec[db_migrate]],
+                ensure => running
+        }
+
         service {"qpidd" :
                 enable => true,
                 ensure => running,
-- 
1.6.0.6




More information about the ovirt-devel mailing list