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