Explorar el Código

Merge pull request #258 from aboe76/enable_salt_minion_standalone

fix minion daemon to be enabled if master_type is set to disable
master
Forrest hace 8 años
padre
commit
5e9c937931
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      salt/standalone.sls

+ 2
- 1
salt/standalone.sls Ver fichero

@@ -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 %}

Cargando…
Cancelar
Guardar