From 78acf0bcfcf594d56725f88426df3bf63a95fc4f Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 24 Jul 2020 10:11:38 -0400 Subject: [PATCH] Add fips-mode-setup to ipaplatform.paths to determine FIPS status This will be used by freeipa-healthcheck to report FIPS config status. It is added here to avoid duplicating platform independence in a sister project. https://pagure.io/freeipa/issue/8429 Signed-off-by: Rob Crittenden Reviewed-By: Francois Cami --- ipaplatform/base/paths.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index ce841c23d..4ede2b382 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -27,6 +27,7 @@ import os class BasePathNamespace: BIN_HOSTNAMECTL = "/bin/hostnamectl" ECHO = "/bin/echo" + FIPS_MODE_SETUP = "/usr/bin/fips-mode-setup" GZIP = "/bin/gzip" LS = "/bin/ls" SYSTEMCTL = "/bin/systemctl"