[Ovirt-devel] [PATCH recipe] Restart qpidd after update to ovirt.keytab.

Ian Main imain at redhat.com
Thu Feb 5 01:33:33 UTC 2009


This patch fixes a bootup race where the keytab for qpidd is generated
after qpidd is started.  This just makes qpidd restart after the install
script is run so it can pick that up.

Signed-off-by: Ian Main <imain at redhat.com>
---
 appliances/ovirt/ovirt.pp.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/appliances/ovirt/ovirt.pp.in b/appliances/ovirt/ovirt.pp.in
index b03b3db..3f64b7f 100644
--- a/appliances/ovirt/ovirt.pp.in
+++ b/appliances/ovirt/ovirt.pp.in
@@ -211,7 +211,8 @@ service {"ovirt-storage":
 single_exec {"ovirt_installation":
     command => "/usr/sbin/ovirt-server-install >> /var/log/ovirt-server-install.log 2>&1",
     require => [Service["postgresql"],Service["ovirt-storage"],Service["dnsmasq"],
-                Single_exec["ovirt_appliance_installation"],Single_exec["cobbler-import"]]
+                Single_exec["ovirt_appliance_installation"],Single_exec["cobbler-import"]],
+    notify => Service["qpidd"]
 }
 
 
-- 
1.6.0.4




More information about the ovirt-devel mailing list