summaryrefslogtreecommitdiffstats
path: root/ipapython/platform/redhat
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2013-11-04 11:52:02 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-11-15 13:30:39 +0100
commit478dc1e828da6ec0365a42300c441bcf0424bd90 (patch)
tree12d175b6ccf734632a0f6d0dbb49a227add1d15a /ipapython/platform/redhat
parent487865131cc6486c40802cfcabc59db1a01f3f16 (diff)
downloadfreeipa.git-478dc1e828da6ec0365a42300c441bcf0424bd90.tar.gz
freeipa.git-478dc1e828da6ec0365a42300c441bcf0424bd90.tar.xz
freeipa.git-478dc1e828da6ec0365a42300c441bcf0424bd90.zip
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
Diffstat (limited to 'ipapython/platform/redhat')
-rw-r--r--ipapython/platform/redhat/__init__.py8
1 files changed, 7 insertions, 1 deletions
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