[Ovirt-devel] [PATCH][ovirt-server] restart ipa after installation and before set admin password

Dmitriy Vasiletc pronix.service at gmail.com
Mon Jun 15 09:07:47 UTC 2009


From: Дмитрий <pronix.service at gmail.com>

if krb5kdc has worked before installation appear  error. and require 'ipactl restart'


---
 installer/modules/ovirt/manifests/freeipa.pp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/installer/modules/ovirt/manifests/freeipa.pp b/installer/modules/ovirt/manifests/freeipa.pp
index aa806fe..5a9fb44 100644
--- a/installer/modules/ovirt/manifests/freeipa.pp
+++ b/installer/modules/ovirt/manifests/freeipa.pp
@@ -64,6 +64,11 @@ class freeipa::bundled{
                 require => [Exec[set_kdc_defaults],Single_exec[dnsmasq_restart]]
         }
 
+        exec {"restart_ipa":
+            command => "/usr/sbin/ipactl restart",
+            require => Single_Exec[ipa_server_install]
+        }
+
         exec {"get_krb5_tkt":
                 command => "/bin/echo $freeipa_password|/usr/kerberos/bin/kinit admin",
                 require => Single_Exec[ipa_server_install]
-- 
1.6.0.6




More information about the ovirt-devel mailing list