small cleanup

This commit is contained in:
Mike Reeves
2023-02-27 14:12:26 -05:00
parent 9967e91825
commit aa7b05d639
5 changed files with 1 additions and 126 deletions
+1 -8
View File
@@ -250,14 +250,7 @@
{% if REDIS and grains.role in ['so-manager', 'so-standalone', 'so-managersearch', 'so-heavynode', 'so-receiver'] %}
{% do allowed_states.append('redis') %}
{% endif %}
{% if grains.os == 'Rocky' %}
{% if not ISAIRGAP %}
{% do allowed_states.append('yum') %}
{% endif %}
{% do allowed_states.append('yum.packages') %}
{% endif %}
{# all nodes on the right salt version can run the following states #}
{% do allowed_states.append('common') %}
{% do allowed_states.append('patch.os.schedule') %}