Patch attached, see commit message for details
From 630dee2536106cbda7b49345733f37cfd8834f08 Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Wed, 2 Mar 2016 17:26:33 +0100
Subject: [PATCH] Remove unused arguments from update_ssh_keys method

First argumet has been unused and can be safely removed, because server
is not used for nsupdate anymore
---
 client/ipa-client-install | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/client/ipa-client-install b/client/ipa-client-install
index 44ddeb956dfd6928317d50309aea42d8eb9e2de0..48c325f53c295a5e30a9a59f357f8561d9875400 100755
--- a/client/ipa-client-install
+++ b/client/ipa-client-install
@@ -1776,7 +1776,8 @@ def check_ip_addresses(options):
                 return False
     return True
 
-def update_ssh_keys(server, hostname, ssh_dir, create_sshfp):
+
+def update_ssh_keys(hostname, ssh_dir, create_sshfp):
     if not os.path.isdir(ssh_dir):
         return
 
@@ -2887,7 +2888,8 @@ def install(options, env, fstore, statestore):
         configure_certmonger(fstore, subject_base, cli_realm, hostname,
                              options, ca_enabled)
 
-    update_ssh_keys(cli_server[0], hostname, services.knownservices.sshd.get_config_dir(), options.create_sshfp)
+    update_ssh_keys(hostname, services.knownservices.sshd.get_config_dir(),
+                    options.create_sshfp)
 
     try:
         os.remove(CCACHE_FILE)
-- 
2.5.0

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

Reply via email to