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

Joey Boggs jboggs at redhat.com
Thu Jun 18 00:20:32 UTC 2009


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]
>   




More information about the ovirt-devel mailing list