From 858ef59948f5c8edd511f4db0b5fd69a1169f19b Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Fri, 17 May 2019 11:43:18 +1000 Subject: [PATCH] certmonger: use long options when invoking dogtag-ipa-renew-agent To aid reader comprehension, use long options instead of short options when invoking dogtag-ipa-renew-agent. -N -> --force-new -O -> --approval-option Part of: https://pagure.io/freeipa/issue/7991 Reviewed-By: Rob Crittenden --- install/certmonger/dogtag-ipa-ca-renew-agent-submit.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/certmonger/dogtag-ipa-ca-renew-agent-submit.in b/install/certmonger/dogtag-ipa-ca-renew-agent-submit.in index d4d4c255a..cd3a1bd69 100644 --- a/install/certmonger/dogtag-ipa-ca-renew-agent-submit.in +++ b/install/certmonger/dogtag-ipa-ca-renew-agent-submit.in @@ -205,7 +205,7 @@ def request_cert(reuse_existing, **kwargs): sys.argv[1:] + ['--submit-option', "requestor_name=IPA"]) if os.environ.get('CERTMONGER_CA_PROFILE') == 'caCACert': - args += ['-N', '-O', 'bypassCAnotafter=true'] + args += ['--force-new', '--approval-option', 'bypassCAnotafter=true'] result = ipautil.run(args, raiseonerr=False, env=os.environ, capture_output=True) if six.PY2: