summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-server-install
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2013-06-03 12:06:06 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-06-05 12:27:45 +0200
commit6f51f92138ff12eff732bf028751dcfa8ef9b442 (patch)
tree43790070a339e5cc8ae44ac6c48ee4bda16b57e5 /install/tools/ipa-server-install
parente31eea3268497dc048d50dfcd952a6fb89e8e388 (diff)
downloadfreeipa-6f51f92138ff12eff732bf028751dcfa8ef9b442.tar.gz
freeipa-6f51f92138ff12eff732bf028751dcfa8ef9b442.tar.xz
freeipa-6f51f92138ff12eff732bf028751dcfa8ef9b442.zip
Use private ccache in ipa install tools
All installers that handle Kerberos auth, have been altered to use private ccache, that is ipa-server-install, ipa-dns-install, ipa-replica-install, ipa-ca-install. https://fedorahosted.org/freeipa/ticket/3666
Diffstat (limited to 'install/tools/ipa-server-install')
-rwxr-xr-xinstall/tools/ipa-server-install7
1 files changed, 5 insertions, 2 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 62adbd5bc..3e18c8e00 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -1210,6 +1210,7 @@ def main():
if __name__ == '__main__':
success = False
+
try:
# FIXME: Common option parsing, logging setup, etc should be factored
# out from all install scripts
@@ -1219,8 +1220,10 @@ if __name__ == '__main__':
else:
log_file_name = "/var/log/ipaserver-install.log"
- installutils.run_script(main, log_file_name=log_file_name,
- operation_name='ipa-server-install')
+ # Use private ccache
+ with private_ccache():
+ installutils.run_script(main, log_file_name=log_file_name,
+ operation_name='ipa-server-install')
success = True
finally: