summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-drm-install
diff options
context:
space:
mode:
Diffstat (limited to 'install/tools/ipa-drm-install')
-rw-r--r--install/tools/ipa-drm-install25
1 files changed, 15 insertions, 10 deletions
diff --git a/install/tools/ipa-drm-install b/install/tools/ipa-drm-install
index b4b308d60..55f0cfc6e 100644
--- a/install/tools/ipa-drm-install
+++ b/install/tools/ipa-drm-install
@@ -58,7 +58,8 @@ def uninstall(realm_name):
root_logger.error(
"Some certificates may still be tracked by certmonger.\n"
"This will cause re-installation to fail.\n"
- "Start the certmonger service and list the certificates being tracked\n"
+ "Start the certmonger service and list the certificates "
+ "being tracked\n"
"# getcert list\nThese may be untracked by executing\n"
"# getcert stop-tracking -i <request_id>\n"
"for each id in: %s"
@@ -72,16 +73,18 @@ def parse_options():
default=False, help="gather extra debugging information")
parser.add_option("-p", "--password", dest="password", sensitive=True,
help="Directory Manager (existing master) password")
- parser.add_option("--no-host-dns", dest="no_host_dns", action="store_true",
- default=False,
- help="Do not use DNS for hostname lookup during installation")
+ parser.add_option(
+ "--no-host-dns", dest="no_host_dns", action="store_true",
+ default=False,
+ help="Do not use DNS for hostname lookup during installation")
parser.add_option("-U", "--unattended", dest="unattended",
action="store_true", default=False,
help="unattended installation never prompts the user")
- parser.add_option("", "--uninstall", dest="uninstall",
- action="store_true", default=False,
- help="uninstall an existing installation. The uninstall can "
- "be run with --unattended option")
+ parser.add_option(
+ "", "--uninstall", dest="uninstall",
+ action="store_true", default=False,
+ help="uninstall an existing installation. The uninstall can "
+ "be run with --unattended option")
options, args = parser.parse_args()
safe_options = parser.get_safe_opts(options)
@@ -177,7 +180,7 @@ def main():
api.bootstrap(**cfg)
api.finalize()
- print "=============================================================================="
+ print "==================================================================="
print "This program will setup Dogtag DRM for the FreeIPA Server."
print ""
@@ -189,7 +192,9 @@ def main():
drm.configure_instance(host_name, domain_name, dm_password,
dm_password, subject_base=subject)
else:
- replica_config = create_replica_config(dm_password, replica_file, options)
+ replica_config = create_replica_config(dm_password,
+ replica_file,
+ options)
if not read_replica_info_drm_enabled(replica_config.dir):
sys.exit("Either DRM is not installed on the master system or "