diff options
author | Fraser Tweedale <ftweedal@redhat.com> | 2016-11-17 10:54:13 +1000 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-11-21 18:03:52 +0100 |
commit | 687ebd18a1927cd6dcbb6cb884b979096c8a44aa (patch) | |
tree | dc1c6a1539ea3843fcbda28ad9dd2da4553f6738 | |
parent | 61094a2a20f5cacdb7c87940d0db8d8593a87505 (diff) | |
download | freeipa-687ebd18a1927cd6dcbb6cb884b979096c8a44aa.tar.gz freeipa-687ebd18a1927cd6dcbb6cb884b979096c8a44aa.tar.xz freeipa-687ebd18a1927cd6dcbb6cb884b979096c8a44aa.zip |
Remove references to ds_newinst.pl
ds_newinst.pl was removed from 389 DS over 9 years ago. Remove
references to it.
Fixes: https://fedorahosted.org/freeipa/ticket/6496
Reviewed-By: Christian Heimes <cheimes@redhat.com>
-rw-r--r-- | ipaplatform/base/paths.py | 1 | ||||
-rw-r--r-- | ipaserver/install/dsinstance.py | 12 |
2 files changed, 6 insertions, 7 deletions
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index bbf6b5387..a30e6b33b 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -157,7 +157,6 @@ class BasePathNamespace(object): PKCS12EXPORT = "/usr/bin/PKCS12Export" CERTUTIL = "/usr/bin/certutil" CHROMIUM_BROWSER = "/usr/bin/chromium-browser" - DS_NEWINST_PL = "/usr/bin/ds_newinst.pl" FIREFOX = "/usr/bin/firefox" GETCERT = "/usr/bin/getcert" GPG = "/usr/bin/gpg" diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index f76378ea1..9a90e99db 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -551,12 +551,12 @@ class DsInstance(service.Service): inf_fd = ipautil.write_tmp_file(inf_txt) inf_txt = re.sub(r"RootDNPwd=.*\n", "", inf_txt) root_logger.debug(inf_txt) - if ipautil.file_exists(paths.SETUP_DS_PL): - args = [paths.SETUP_DS_PL, "--silent", "--logfile", "-", "-f", inf_fd.name] - root_logger.debug("calling setup-ds.pl") - else: - args = [paths.DS_NEWINST_PL, inf_fd.name] - root_logger.debug("calling ds_newinst.pl") + args = [ + paths.SETUP_DS_PL, "--silent", + "--logfile", "-", + "-f", inf_fd.name, + ] + root_logger.debug("calling setup-ds.pl") try: ipautil.run(args) root_logger.debug("completed creating ds instance") |