0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 00:48:02 +01:00

Merge pull request #6 from AntoineCezar/dev

Add minion's include configurability
This commit is contained in:
Joseph Hall 2013-07-22 08:01:38 -07:00
commit 7d6ab1e4f1

View File

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