From 478dc1e828da6ec0365a42300c441bcf0424bd90 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Mon, 4 Nov 2013 11:52:02 +0100 Subject: ipa-client-install: Added options to configure firefox Option --configure-firefox configures firefox to use Kerberos credentials within IPA domain Optional option --firefox-dir=DIR allows to user to specify non-standard path where firefox install directory is placed. Part of ticket: https://fedorahosted.org/freeipa/ticket/3821 --- ipapython/platform/redhat/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ipapython/platform/redhat') diff --git a/ipapython/platform/redhat/__init__.py b/ipapython/platform/redhat/__init__.py index f7680e7e..cd7b105b 100644 --- a/ipapython/platform/redhat/__init__.py +++ b/ipapython/platform/redhat/__init__.py @@ -48,7 +48,8 @@ from ipapython.platform.redhat.service import redhat_service, RedHatServices # and restorecon is installed. __all__ = ['authconfig', 'service', 'knownservices', 'backup_and_replace_hostname', 'restore_context', 'check_selinux_status', - 'restore_network_configuration', 'timedate_services'] + 'restore_network_configuration', 'timedate_services', 'FIREFOX_EXEC', + 'FIREFOX_INSTALL_DIRS', 'FIREFOX_PREFERENCES_REL_PATH'] # Just copy a referential list of timedate services timedate_services = list(base.timedate_services) @@ -131,3 +132,8 @@ def restore_network_configuration(fstore, statestore): filepath = '/etc/sysconfig/network' if fstore.has_file(filepath): fstore.restore_file(filepath) + +# Firefox paths +FIREFOX_EXEC = base.FIREFOX_EXEC +FIREFOX_INSTALL_DIRS = base.FIREFOX_INSTALL_DIRS +FIREFOX_PREFERENCES_REL_PATH = base.FIREFOX_PREFERENCES_REL_PATH -- cgit