diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-06-17 11:45:43 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-06-26 09:22:21 +0200 |
commit | e5e42fc83ae74f0e0c68e68417a39fe6f2f2ae63 (patch) | |
tree | 2df440cfd523535eedafabc0a23e140e09bc0eab /install/tools/ipa-dns-install | |
parent | c8511d3b3baa389069156bf9991a9f4c7d64cf4a (diff) | |
download | freeipa-e5e42fc83ae74f0e0c68e68417a39fe6f2f2ae63.tar.gz freeipa-e5e42fc83ae74f0e0c68e68417a39fe6f2f2ae63.tar.xz freeipa-e5e42fc83ae74f0e0c68e68417a39fe6f2f2ae63.zip |
ipaplatform: Move paths from installers to paths module
Part of: https://fedorahosted.org/freeipa/ticket/4052
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'install/tools/ipa-dns-install')
-rwxr-xr-x | install/tools/ipa-dns-install | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index 78acc2d9b..5e191974b 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -29,10 +29,11 @@ from ipaserver.install import installutils from ipapython import version from ipapython import ipautil, sysrestore from ipalib import api, errors, util +from ipaplatform.paths import paths from ipapython.config import IPAOptionParser from ipapython.ipa_log_manager import standard_logging_setup, root_logger -log_file_name = "/var/log/ipaserver-install.log" +log_file_name = paths.IPASERVER_INSTALL_LOG def parse_options(): parser = IPAOptionParser(version=version.VERSION) @@ -85,7 +86,7 @@ def main(): installutils.check_server_configuration() global fstore - fstore = sysrestore.FileStore('/var/lib/ipa/sysrestore') + fstore = sysrestore.FileStore(paths.SYSRESTORE) print "==============================================================================" print "This program will setup DNS for the FreeIPA Server." |