From cc06361907c8fdb986a581eb3e20abf8a7c1c476 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Jul 29 2020 04:09:36 +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 f1ccede..0aa6a97 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"