mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-27 22:38:10 +01:00
fix minion daemon to be enabled if master_type is set to disable
This commit is contained in:
parent
e76880d500
commit
64e7376fe4
@ -15,10 +15,11 @@ salt-minion:
|
||||
standalone: True
|
||||
{%- if salt_settings.minion.master_type is defined and salt_settings.minion.master_type == 'disable' %}
|
||||
service.running:
|
||||
- enable: True
|
||||
{%- else %}
|
||||
service.dead:
|
||||
{%- endif %}
|
||||
- enable: False
|
||||
{%- endif %}
|
||||
- name: {{ salt_settings.minion_service }}
|
||||
- require:
|
||||
{% if salt_settings.install_packages %}
|
||||
|
Loading…
Reference in New Issue
Block a user