URL: https://github.com/freeipa/freeipa/pull/4942
Author: rcritten
 Title: #4942: Add fips-mode-setup to ipaplatform.paths to determine FIPS status
Action: opened

PR body:
"""
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 <rcrit...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4942/head:pr4942
git checkout pr4942
From 6d4c7bf2bb7f70ec81a98c9b48da3efa8b359360 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
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 <rcrit...@redhat.com>
---
 ipaplatform/base/paths.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py
index ce841c23d3..4ede2b3829 100644
--- a/ipaplatform/base/paths.py
+++ b/ipaplatform/base/paths.py
@@ -27,6 +27,7 @@
 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"
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to