From 767501cae9f7d9b704fe1f155087a4432d7c333b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= Date: Mon, 11 Mar 2024 09:18:48 +0100 Subject: [PATCH] Add ocil prefix to the macro name --- .../disk_partitioning/systemd_tmp_mount_enabled/rule.yml | 2 +- shared/macros/10-ocil.jinja | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux_os/guide/system/software/disk_partitioning/systemd_tmp_mount_enabled/rule.yml b/linux_os/guide/system/software/disk_partitioning/systemd_tmp_mount_enabled/rule.yml index b23ba5e740a..5ae613f9f68 100644 --- a/linux_os/guide/system/software/disk_partitioning/systemd_tmp_mount_enabled/rule.yml +++ b/linux_os/guide/system/software/disk_partitioning/systemd_tmp_mount_enabled/rule.yml @@ -22,7 +22,7 @@ identifiers: cce@rhel9: CCE-86891-9 ocil: |- - {{{ systemd_mount_enabled("tmp") }}} + {{{ ocil_systemd_mount_enabled("tmp") }}} ocil_clause: "the tmp.mount unit is masked or disabled" diff --git a/shared/macros/10-ocil.jinja b/shared/macros/10-ocil.jinja index 9527abb24f6..947191319f1 100644 --- a/shared/macros/10-ocil.jinja +++ b/shared/macros/10-ocil.jinja @@ -883,7 +883,7 @@ JINJA MACRO ERROR - Unknown init system '{{{ init_system }}}'. :type mount: str #}} -{{%- macro systemd_mount_enabled(mount) %}} +{{%- macro ocil_systemd_mount_enabled(mount) %}} Run the following command to determine the current status of the {{{ mount }}} mount:
$ sudo systemctl is-active {{{ mount }}}.mount