Skip to content
Snippets Groups Projects
Commit c7af1d12 authored by Antoine Cezar's avatar Antoine Cezar
Browse files

Add minion's include configurability

parent 9a5e71bf
No related branches found
No related tags found
No related merge requests found
......@@ -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 #####
##########################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment