ipautil: move is_fips_enabled() to ipaplatform.tasks

The FIPS setting is platform-specific.

https://fedorahosted.org/freeipa/ticket/6474

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Jan Cholasta
2016-11-23 16:13:31 +01:00
committed by Martin Basti
parent d911f49348
commit 75b70e3f0d
7 changed files with 28 additions and 28 deletions

View File

@@ -520,7 +520,7 @@ def check_remote_version(api):
def common_check(no_ntp):
if ipautil.is_fips_enabled():
if tasks.is_fips_enabled():
raise RuntimeError(
"Installing IPA server in FIPS mode is not supported")