mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix salt.master state
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user