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

dima vasiletc pronix.service at gmail.com
Thu Jun 18 07:34:25 UTC 2009


Hello
Restart ipa will be before load ovirt data.


On 06/18/2009 04:20 AM, Joey Boggs wrote:
> 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