瀏覽代碼

Merge pull request #6 from AntoineCezar/dev

Add minion's include configurability
tags/v0.57.0
Joseph Hall 11 年之前
父節點
當前提交
7d6ab1e4f1
共有 1 個檔案被更改,包括 10 行新增0 行删除
  1. +10
    -0
      files/minion

+ 10
- 0
files/minion 查看文件

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

Loading…
取消
儲存