Pārlūkot izejas kodu

Add minion's include configurability

tags/v0.57.0
Antoine Cezar pirms 11 gadiem
vecāks
revīzija
c7af1d12a1
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. +10
    -0
      files/minion

+ 10
- 0
files/minion Parādīt failu

@@ -141,6 +141,16 @@ tcp_pull_port: {{ minion.get('tcp_pull_port', '4511') }}
# include:
# - /etc/salt/extra_config
# - /etc/roles/webserver
{% if minion['include'] is defined -%}
{% if isinstance(minion['include'], list) -%}
include:
{% for include in minion['include'] -%}
- {{ include }}
{% endfor -%}
{% else -%}
include: minion['include']
{% endif -%}
{% endif -%}

##### Minion module management #####
##########################################

Notiek ielāde…
Atcelt
Saglabāt