diff --git a/salt/ntp/init.sls b/salt/ntp/init.sls index 08f5e28b5..9c0c3dcb2 100644 --- a/salt/ntp/init.sls +++ b/salt/ntp/init.sls @@ -19,6 +19,8 @@ chronyconf: {% if GLOBALS.os == 'Rocky' %} chronyd: +{% elif GLOBALS.os == 'CentOS Stream' %} +chronyd: {% else %} chrony: {% endif %} diff --git a/salt/repo/client/centos.sls b/salt/repo/client/centos.sls index 7e077c1ce..2e1816bb3 100644 --- a/salt/repo/client/centos.sls +++ b/salt/repo/client/centos.sls @@ -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 %}