From baa6afca60697704fe55accadf41d566a9d3a414 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Dec 19 2016 17:20:09 +0000 Subject: koji-gc: Set default value for krb_rdns to False In Fedora infra krb_rdns needs to be set to False. This matches https://pagure.io/koji/pull-request/244 --- diff --git a/util/koji-gc b/util/koji-gc index e629775..254d208 100755 --- a/util/koji-gc +++ b/util/koji-gc @@ -52,6 +52,8 @@ def get_options(): parser.add_option("--principal", help=_("specify a Kerberos principal to use")) parser.add_option("--krbservice", default="host", help=_("the service name of the principal being used by the hub")) + parser.add_option("--krb-rdns", action="store_true", default=False, + help=_("get reverse dns FQDN for krb target")) parser.add_option("--runas", metavar="USER", help=_("run as the specified user (requires special privileges)")) parser.add_option("--user", help=_("specify user")) @@ -111,6 +113,7 @@ def get_options(): (options, args) = parser.parse_args() defaults = parser.get_default_values() + config = ConfigParser.ConfigParser() cf = getattr(options, 'config_file', None) if cf: