From 1ce0c75b2d9e33f659301874450286b6d9c69dc4 Mon Sep 17 00:00:00 2001 From: Matthew Burket Date: Fri, 8 Dec 2023 12:31:16 -0600 Subject: [PATCH] Add autofs package platform to service_autofs_disabled --- .../permissions/mounting/service_autofs_disabled/rule.yml | 2 +- shared/applicability/package.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/linux_os/guide/system/permissions/mounting/service_autofs_disabled/rule.yml b/linux_os/guide/system/permissions/mounting/service_autofs_disabled/rule.yml index f433c1f8875..fd1f7af8d82 100644 --- a/linux_os/guide/system/permissions/mounting/service_autofs_disabled/rule.yml +++ b/linux_os/guide/system/permissions/mounting/service_autofs_disabled/rule.yml @@ -67,7 +67,7 @@ ocil_clause: |- ocil: |- {{{ ocil_service_disabled(service="autofs") }}} -platform: machine +platform: machine and package[autofs] template: name: service_disabled diff --git a/shared/applicability/package.yml b/shared/applicability/package.yml index 0d9e1e27c6e..0d9d8095599 100644 --- a/shared/applicability/package.yml +++ b/shared/applicability/package.yml @@ -14,6 +14,8 @@ args: {{% else %}} pkgname: auditd {{% endif %}} + autofs: + pkgname: autofs bash: pkgname: bash chrony: