fix salt.master state

This commit is contained in:
m0duspwnens
2021-04-16 13:09:01 -04:00
parent 24b263c812
commit 1b15f01874

View File

@@ -1,13 +1,16 @@
{% from 'salt/map.jinja' import SALTNOTHELD %}
{% from 'allowed_states.map.jinja' import allowed_states %} {% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls in allowed_states %} {% if sls in allowed_states %}
include: include:
- salt.minion - salt.minion
{% if SALTNOTHELD == 1 %}
hold_salt_master_package: hold_salt_master_package:
module.run: module.run:
- pkg.hold: - pkg.hold:
- 'salt-master' - name: salt-master
{% endif %}
salt_master_service: salt_master_service:
service.running: service.running: