URL: https://github.com/freeipa/freeipa/pull/1141 Author: tscherf Title: #1141: Adds a debug option to ipa-replica-manage. Action: opened
PR body: """ https://pagure.io/freeipa/issue/7187 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1141/head:pr1141 git checkout pr1141
From e5aa04f8cc2d525a15a7a22f0fe00d2b7efa10b8 Mon Sep 17 00:00:00 2001 From: Thorsten Scherf <tsch...@redhat.com> Date: Tue, 10 Oct 2017 13:35:55 +0200 Subject: [PATCH] Adds a debug option to ipa-replica-manage. https://pagure.io/freeipa/issue/7187 --- install/tools/ipa-replica-manage | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage index 102addbdbd..b781d9e193 100755 --- a/install/tools/ipa-replica-manage +++ b/install/tools/ipa-replica-manage @@ -86,6 +86,8 @@ def parse_options(): parser.add_option("-p", "--password", dest="dirman_passwd", help="Directory Manager password") parser.add_option("-v", "--verbose", dest="verbose", action="store_true", default=False, help="provide additional information") + parser.add_option("-d", "--debug", dest="debug", action="store_true", default=False, + help="provide debug information") parser.add_option("-f", "--force", dest="force", action="store_true", default=False, help="ignore some types of errors") parser.add_option("-c", "--cleanup", dest="cleanup", action="store_true", default=False, @@ -1507,6 +1509,7 @@ def main(options, args): # access to the plugin environment api_env = {'in_server' : True, 'verbose' : options.verbose, + 'debug' : options.debug, } if os.getegid() != 0:
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org