add more OS logic

This commit is contained in:
Mike Reeves
2023-06-29 08:48:46 -04:00
parent 3d9e7d1e97
commit 694ea743cc
2 changed files with 3 additions and 1 deletions

View File

@@ -19,6 +19,8 @@ chronyconf:
{% if GLOBALS.os == 'Rocky' %}
chronyd:
{% elif GLOBALS.os == 'CentOS Stream' %}
chronyd:
{% else %}
chrony:
{% endif %}

View File

@@ -7,7 +7,7 @@
{% from 'repo/client/map.jinja' import ABSENTFILES with context %}
{% from 'repo/client/map.jinja' import REPOPATH with context %}
{% if GLOBALS.os == 'CentOS' %}
{% if GLOBALS.os == 'CentOS Stream' %}
{% if ABSENTFILES|length > 0%}
{% for file in ABSENTFILES %}