diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-04-07 13:36:10 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-04-17 16:31:11 +0200 |
commit | 24aa0a91e5376236a76ca3d8a371b75c584c9327 (patch) | |
tree | 6175ab43754279d9007d86418686139edc32f4bd /ipatests/test_integration/tasks.py | |
parent | ceca0b5591c5a7c9de329eec19968b2d324d4247 (diff) | |
download | freeipa-24aa0a91e5376236a76ca3d8a371b75c584c9327.tar.gz freeipa-24aa0a91e5376236a76ca3d8a371b75c584c9327.tar.xz freeipa-24aa0a91e5376236a76ca3d8a371b75c584c9327.zip |
ipatests: tasks: Accept extra arguments when installing client
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipatests/test_integration/tasks.py')
-rw-r--r-- | ipatests/test_integration/tasks.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 7f738e3d0..2334e254e 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -236,7 +236,7 @@ def install_replica(master, replica, setup_ca=True): kinit_admin(replica) -def install_client(master, client): +def install_client(master, client, extra_args=()): client.collect_log('/var/log/ipaclient-install.log') apply_common_fixes(client) @@ -246,7 +246,8 @@ def install_client(master, client): '--realm', client.domain.realm, '-p', client.config.admin_name, '-w', client.config.admin_password, - '--server', master.hostname]) + '--server', master.hostname] + + list(extra_args)) kinit_admin(client) |