Fix Windows repo settings using values from 2015.8 documentation

This commit is contained in:
Imran Iqbal 2016-03-04 11:27:45 +00:00
parent 043433b90a
commit 7474d4239d
1 changed files with 7 additions and 7 deletions

View File

@ -1109,17 +1109,17 @@ nodegroups:
##### Windows Software Repo settings #####
###########################################
# Location of the repo on the master:
{{ get_config('win_repo_dir_ng', '/srv/salt/win/repo-ng') }}
{{ get_config('winrepo_dir_ng', '/srv/salt/win/repo-ng') }}
# List of git repositories to include with the local repo:
{% if 'win_gitrepos_ng' in cfg_master %}
win_gitrepos_ng:
{% for repo in cfg_master['win_gitrepos_ng'] %}
{% if 'winrepo_remotes_ng' in cfg_master %}
winrepo_remotes_ng:
{% for repo in cfg_master['winrepo_remotes_ng'] %}
- {{ repo }}
{% endfor %}
{% elif 'win_gitrepos_ng' in cfg_salt %}
win_gitrepos_ng:
{% for repo in cfg_salt['win_gitrepos_ng'] %}
{% elif 'winrepo_remotes_ng' in cfg_salt %}
winrepo_remotes_ng:
{% for repo in cfg_salt['winrepo_remotes_ng'] %}
- {{ repo }}
{% endfor %}
{% else %}