Sfoglia il codice sorgente

Merge pull request #357 from Zero-Down-Time/master

Add profile support to engine.conf to support sqs_events, bugfix for pillar defaults
tags/v0.57.0
Niels Abspoel 6 anni fa
parent
commit
fd96c7a65a
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. +6
    -1
      salt/files/master.d/engine.conf

+ 6
- 1
salt/files/master.d/engine.conf Vedi File

@@ -1,8 +1,13 @@
#
# This file is managed by Salt! Do not edit by hand!
#
{%- set engines = salt['pillar.get']('salt:engines', {}) -%}
{%- set engines = salt['pillar.get']('salt:engines', []) -%}
{%- set engines = salt['pillar.get']('salt:master:engines', default=engines, merge=True) -%}
{%- set engines_profiles = salt['pillar.get']('salt:engines_profiles', {}) -%}
{%- set engines_profiles = salt['pillar.get']('salt:master:engines_profiles', default=engines_profiles, merge=True) -%}
{%- if engines_profiles %}
{{ engines_profiles | yaml(False) }}
{%- endif -%}
{%- if engines %}
engines:
{{ engines | yaml(False) | indent(2) }}

Loading…
Annulla
Salva