Pārlūkot izejas kodu

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 pirms 8 gadiem
vecāks
revīzija
e76880d500
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +4
    -0
      salt/standalone.sls

+ 4
- 0
salt/standalone.sls Parādīt failu

@@ -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:

Notiek ielāde…
Atcelt
Saglabāt