瀏覽代碼

Provide Windows repo settings: 2015.8+ master used for pre-2015.8 minions

master
Imran Iqbal 8 年之前
父節點
當前提交
c4e116ee8f
共有 1 個文件被更改,包括 25 次插入0 次删除
  1. +25
    -0
      salt/files/master.d/f_defaults.conf

+ 25
- 0
salt/files/master.d/f_defaults.conf 查看文件

@@ -1108,6 +1108,8 @@ nodegroups:

##### Windows Software Repo settings #####
###########################################
# Repo settings for 2015.8+ master used with 2015.8+ Windows minions
#
# Location of the repo on the master:
{{ get_config('winrepo_dir_ng', '/srv/salt/win/repo-ng') }}

@@ -1127,6 +1129,29 @@ winrepo_remotes_ng:
# - 'https://github.com/saltstack/salt-winrepo-ng.git'
{% endif %}

# Repo settings for 2015.8+ master used with pre-2015.8 Windows minions
#
# Location of the repo on the master:
{{ get_config('winrepo_dir', '/srv/salt/win/repo') }}

# Location of the master's repo cache file:
{{ get_config('winrepo_cachefile', 'winrepo.p') }}

# List of git repositories to include with the local repo:
{% if 'winrepo_remotes' in cfg_master %}
winrepo_remotes:
{% for repo in cfg_master['winrepo_remotes'] %}
- {{ repo }}
{% endfor %}
{% elif 'winrepo_remotes' in cfg_salt %}
winrepo_remotes:
{% for repo in cfg_salt['winrepo_remotes'] %}
- {{ repo }}
{% endfor %}
{% else %}
#winrepo_remotes:
# - 'https://github.com/saltstack/salt-winrepo.git'
{% endif %}

##### Windows Software Repo settings - Pre 2015.8 #####
########################################################

Loading…
取消
儲存