We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b222922 commit 2d25a01Copy full SHA for 2d25a01
shared/macros/20-test-scenarios.jinja
@@ -6,7 +6,11 @@ This macro changes the configuration of the audit service so that it looks like
6
{{% if product in ["fedora", "ol10", "rhel10"] %}}
7
sed -i "s%^ExecStart=.*%ExecStart=/sbin/auditctl%" /usr/lib/systemd/system/audit-rules.service
8
{{% else %}}
9
-sed -i "s%^ExecStartPost=.*%ExecStartPost=-/sbin/auditctl%" /usr/lib/systemd/system/auditd.service
+ {{% if product == "sle15" %}}
10
+ sed -i "s%^#ExecStartPost=.*%ExecStartPost=-/sbin/auditctl%" /usr/lib/systemd/system/auditd.service
11
+ {{% else %}}
12
+ sed -i "s%^ExecStartPost=.*%ExecStartPost=-/sbin/auditctl%" /usr/lib/systemd/system/auditd.service
13
+ {{% endif %}}
14
{{% endif %}}
15
{{%- endmacro -%}}
16
0 commit comments