Browse Source

Add minion's include configurability

master
Antoine Cezar 11 years ago
parent
commit
c7af1d12a1
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      files/minion

+ 10
- 0
files/minion View File

# include: # include:
# - /etc/salt/extra_config # - /etc/salt/extra_config
# - /etc/roles/webserver # - /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 ##### ##### Minion module management #####
########################################## ##########################################

Loading…
Cancel
Save