Bladeren bron

Edited master template

made fileserver_backend and gitfs_remotes look more like expected
tags/v0.57.0
Kenneth Wilke 11 jaren geleden
bovenliggende
commit
153feac309
1 gewijzigde bestanden met toevoegingen van 12 en 4 verwijderingen
  1. +12
    -4
      salt/files/master

+ 12
- 4
salt/files/master Bestand weergeven

# fileserver_backend: # fileserver_backend:
# - git # - git
# - roots # - roots
{{ get_config('fileserver_backend', '[]') }}

{% if 'fileserver_backend' in master -%}
fileserver_backend:
{% for backend in master['fileserver_backend'] -%}
- {{ backend }}
{%- endfor %}
{% endif %}
# Git fileserver backend configuration # Git fileserver backend configuration
# When using the git fileserver backend at least one git remote needs to be # When using the git fileserver backend at least one git remote needs to be
# defined. The user running the salt master will need read access to the repo. # defined. The user running the salt master will need read access to the repo.
# environments. # environments.
# Note: file:// repos will be treated as a remote, so refs you want used must # Note: file:// repos will be treated as a remote, so refs you want used must
# exist in that repo as *local* refs. # exist in that repo as *local* refs.
{{ get_config('gitfs_remotes', '[]') }}

{% if 'gitfs_remotes' in master -%}
gitfs_remotes:
{% for remote in master['gitfs_remotes'] -%}
- {{ remote }}
{%- endfor %}
{% endif %}


##### Pillar settings ##### ##### Pillar settings #####
########################################## ##########################################

Laden…
Annuleren
Opslaan