Re: [Freeipa-devel] [PATCH 0348] CI: fix KRA installation with domain level>0

2015-11-18 Thread Martin Basti



On 16.11.2015 17:33, Aleš Mareček wrote:

ACK.

Pushed to master: e56a1535b041c1ca1f398b54eda6bf04f1c1e33b


- Original Message -

From: "Martin Basti" <mba...@redhat.com>
To: "freeipa-devel" <freeipa-devel@redhat.com>
Sent: Monday, November 16, 2015 4:06:51 PM
Subject: [Freeipa-devel] [PATCH 0348] CI: fix KRA installation with domain  
level>0

Patch attached.
Part of https://fedorahosted.org/freeipa/ticket/5379

Martin^2


--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code


--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Re: [Freeipa-devel] [PATCH 0348] CI: fix KRA installation with domain level>0

2015-11-16 Thread Aleš Mareček
ACK.

- Original Message -
> From: "Martin Basti" <mba...@redhat.com>
> To: "freeipa-devel" <freeipa-devel@redhat.com>
> Sent: Monday, November 16, 2015 4:06:51 PM
> Subject: [Freeipa-devel] [PATCH 0348] CI: fix KRA installation with domain
> level>0
> 
> Patch attached.
> Part of https://fedorahosted.org/freeipa/ticket/5379
> 
> Martin^2
> 
> 
> --
> Manage your subscription for the Freeipa-devel mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-devel
> Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code


[Freeipa-devel] [PATCH 0348] CI: fix KRA installation with domain level>0

2015-11-16 Thread Martin Basti

Patch attached.
Part of https://fedorahosted.org/freeipa/ticket/5379

Martin^2

From 85124720de8fefbf4f777c76af07b96e586a48cf Mon Sep 17 00:00:00 2001
From: Martin Basti 
Date: Mon, 16 Nov 2015 15:58:46 +0100
Subject: [PATCH] CI test: Fix installation of KRA on a replica

With domain level 1 installation of KRA has been changed on replica.

https://fedorahosted.org/freeipa/ticket/5379
---
 ipatests/test_integration/tasks.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py
index ae26444f6d267c2ea2688cb2aaab5a2059688595..0ee50a8e289b0648103ed86d5739d0cce08aa070 100644
--- a/ipatests/test_integration/tasks.py
+++ b/ipatests/test_integration/tasks.py
@@ -358,10 +358,11 @@ def install_replica(master, replica, setup_ca=True, setup_dns=False,
 assert setup_ca, "CA must be installed on replica with KRA"
 args = [
 "ipa-kra-install",
-replica_filename,
 "-p", replica.config.dirman_password,
 "-U",
 ]
+if domainlevel(master) == 0:
+args.append(replica_filename)
 replica.run_command(args)
 
 kinit_admin(replica)
-- 
2.4.3

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code