Manage the repo files

This commit is contained in:
Mike Reeves
2021-03-31 16:53:20 -04:00
parent 358f397535
commit f387c4327a

View File

@@ -127,7 +127,7 @@ crwazrepo:
crsecurityonionrepo:
file.managed:
{% if role in ['eval', 'standalone', 'import', 'manager' 'managersearch'] or managerupdates == 0 %}
{% if role in ['eval', 'standalone', 'import', 'manager' 'managersearch'] %}
- name: /etc/yum.repos.d/securityonion.repo
- source: salt://common/yum_repos/securityonion.repo
{% else %}