Dmitriy Vasiletc
2009-Jun-15 09:07 UTC
[Ovirt-devel] [PATCH][ovirt-server] restart ipa after installation and before set admin password
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
Joey Boggs
2009-Jun-18 00:20 UTC
[Ovirt-devel] [PATCH][ovirt-server] restart ipa after installation and before set admin password
What were you running into that an ipa restart was needed? IPA *should* be in a good state before running the critical portions on ovirt user/group settings. Dmitriy Vasiletc wrote:> 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] >
Seemingly Similar Threads
- [PATCH server] update installer exec items to single_exec where applicable
- [PATCH server] add server-side groundwork for remote freeipa server
- Build fails due to missing ovirt-node-recipe.ks
- How to install ovirt in working environment?
- [PATCH server] update host-browser to use ipa commands rather than kadmin