add option to start minion service if master_type is set to disable
This commit is contained in:
parent
e464109c92
commit
1ffbb4b6bc
@ -13,7 +13,11 @@ salt-minion:
|
||||
- exclude_pat: _*
|
||||
- context:
|
||||
standalone: True
|
||||
{%- if salt_settings.minion.master_type is defined and salt_settings.minion.master_type == 'disable' %}
|
||||
service.running:
|
||||
{%- else %}
|
||||
service.dead:
|
||||
{%- endif %}
|
||||
- enable: False
|
||||
- name: {{ salt_settings.minion_service }}
|
||||
- require:
|
||||
|
Loading…
Reference in New Issue
Block a user