#8062 Re-add configure_nsswitch_database, configure_nsswitch, ... to ipaclient.install
Closed: fixed by rcritten. Opened by cheimes.

Issue

Commit 2da90887632c764a73866c9ad3824ebb53c0aa73 removed a couple of functions like configure_nsswitch_database from subpackage module ipaclient.install. This broke ansible-freeipa. Re-add function façades for the new function locations with a deprecation warning:

def configure_nsswitch_database(fstore, database, services, preserve=True,
        append=True, default_value=()):
    warnings.warn(
        "Use 'ipaplatform.tasks.tasks.configure_nsswitch_database",
        DeprecationWarning,
        stacklevel=2
    )
    return tasks.configure_nsswitch_database(...)

Metadata Update from @rjeffman:
- Issue assigned to rjeffman

https://github.com/freeipa/freeipa/pull/3679

master:

  • 9c20641f5c8e9d4f813d0ba3e80b7ccc9df0ed15 Re-add function façades removed by commit 2da9088.

ipa-4-8:

  • 3323913daf82448ecc2fcc4424110f62fa93b019 Re-add function façades removed by commit 2da9088.

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata