From 78acf0bcfcf594d56725f88426df3bf63a95fc4f Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Jul 27 2020 13:47:27 +0000 Subject: 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 --- diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index ce841c2..4ede2b3 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"