only ensure salt-minion service is running if salt is on right verison https://github.com/Security-Onion-Solutions/securityonion/issues/1961

This commit is contained in:
m0duspwnens
2020-11-18 12:32:21 -05:00
parent ce70e0a61f
commit d0e7b5b55a

View File

@@ -27,3 +27,4 @@ salt_minion_service:
service.running:
- name: salt-minion
- enable: True
- onlyif: "[[ '{{INSTALLEDSALTVERSION}}' == '{{SALTVERSION}}' ]]"