Browse Source

Merge pull request #257 from aboe76/salt-minion_standalone_with_service

add option to start minion service if master_type is set to disable
master
Forrest 8 years ago
parent
commit
e76880d500
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      salt/standalone.sls

+ 4
- 0
salt/standalone.sls View File

- exclude_pat: _* - exclude_pat: _*
- context: - context:
standalone: True standalone: True
{%- if salt_settings.minion.master_type is defined and salt_settings.minion.master_type == 'disable' %}
service.running:
{%- else %}
service.dead: service.dead:
{%- endif %}
- enable: False - enable: False
- name: {{ salt_settings.minion_service }} - name: {{ salt_settings.minion_service }}
- require: - require:

Loading…
Cancel
Save