diff --git a/salt/salt/minion.sls b/salt/salt/minion.sls index e656ae8a6..1b0f7d901 100644 --- a/salt/salt/minion.sls +++ b/salt/salt/minion.sls @@ -49,9 +49,11 @@ salt_minion_service_unit_file: - module: systemd_reload - listen_in: - service: salt_minion_service +{% endif %} +# this has to be outside the if statement above since there are _in calls to this state salt_minion_service: service.running: - name: salt-minion - enable: True -{% endif %} + - onlyif: test "{{INSTALLEDSALTVERSION}}" == "{{SALTVERSION}}" \ No newline at end of file