Skip to content

Commit

Permalink
Update oval condition to include OL7 & OL9
Browse files Browse the repository at this point in the history
The rsyslog_cron_logging rule
has a condition to test the scenarios
all_facilities_set_rsyslog_conf.pass &
all_facilities_set_rsyslog_d.pass, OL7 & OL9
are included in that condition

Signed-off-by: Armando Acosta <armando.acosta@oracle.com>
  • Loading branch information
mrkanon committed Aug 21, 2024
1 parent 0ad4684 commit 1e8ba30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
test_ref="test_cron_logging_rsyslog_dir" />
<criterion comment="cron is configured in /etc/rsyslog.d using RainerScript"
test_ref="test_cron_logging_rsyslog_dir_rainer" />
{{% if product == "ol8" %}}
{{% if "ol" in product %}}
<criterion comment="rsyslog is configured in /etc/rsyslog.conf to log to all facilities"
test_ref="test_cron_logging_rsyslog_logging_all_facilities" />
<criterion comment="rsyslog is configured in /etc/rsyslog.d to log to all facilities"
Expand Down Expand Up @@ -70,7 +70,7 @@
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>

{{% if product == "ol8" %}}
{{% if "ol" in product %}}
<ind:textfilecontent54_test check="all" check_existence="all_exist"
comment="rsyslog is configured in /etc/rsyslog.conf to log to all facilities"
id="test_cron_logging_rsyslog_logging_all_facilities" version="1">
Expand Down

0 comments on commit 1e8ba30

Please sign in to comment.