Cleanup and make closer to the PR submitted for the mainline salt repo master config file

This commit is contained in:
Brad Thurber 2016-04-20 15:10:55 -04:00
parent c4ef48c5e8
commit 939aa37028
3 changed files with 14 additions and 15 deletions

View File

@ -1 +1 @@
{{ pillar['salt']['gitfs']['keys'][key][type] }}
{{ pillar['salt']['gitfs']['keys'][key][type] }}

View File

@ -710,26 +710,25 @@ fileserver_backend:
# Along with gitfs_user, is used to authenticate to HTTPS remotes.
# This parameter is not required if the repository does not use authentication.
{{ get_config('gitfs_password', 'mypassword') }}
{{ get_config('gitfs_password', '') }}
# By default, Salt will not authenticate to an HTTP (non-HTTPS) remote.
# This parameter enables authentication over HTTP. Enable this at your own risk.
{{ get_config('gitfs_insecure_auth', 'False') }}
# Along with gitfs_privkey (and optionally gitfs_passphrase), is used to authenticate
# to SSH remotes. This parameter (or its per-remote counterpart) is required for SSH remotes.
{{ get_config('gitfs_pubkey', '/path/to/key.pub') }}
# Along with gitfs_privkey (and optionally gitfs_passphrase), is used to
# authenticate to SSH remotes. This parameter (or its per-remote counterpart)
# is required for SSH remotes.
{{ get_config('gitfs_pubkey', '') }}
# Along with gitfs_pubkey (and optionally gitfs_passphrase), is used to authenticate
# to SSH remotes. This parameter (or its per-remote counterpart) is required for SSH remotes.
{{ get_config('gitfs_privkey', '/path/to/key') }}
# Along with gitfs_pubkey (and optionally gitfs_passphrase), is used to
# authenticate to SSH remotes. This parameter (or its per-remote counterpart)
# is required for SSH remotes.
{{ get_config('gitfs_privkey', '') }}
# This parameter is optional, required only when the SSH key being used to
# authenticate is protected by a passphrase.
{{ get_config('gitfs_passphrase', 'mypassphrase') }}
# Along with gitfs_user, is used to authenticate to HTTPS remotes.
# This parameter is not required if the repository does not use authentication.
{{ get_config('gitfs_passphrase', '') }}
# 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.
@ -945,11 +944,11 @@ ext_pillar:
# Along with git_pillar_privkey (and optionally git_pillar_passphrase),
# is used to authenticate to SSH remotes.
{{ get_config('git_pillar_pubkey', '/path/to/key.pub') }}
{{ get_config('git_pillar_pubkey', '') }}
# Along with git_pillar_pubkey (and optionally git_pillar_passphrase),
# is used to authenticate to SSH remotes.
{{ get_config('git_pillar_privkey', '/path/to/key') }}
{{ get_config('git_pillar_privkey', '') }}
# This parameter is optional, required only when the SSH key being used
# to authenticate is protected by a passphrase.

View File

@ -17,4 +17,4 @@ gitfs-key-{{ key }}-{{ type }}:
key: {{ key }}
type: {{ type }}
{%- endfor %}
{%- endfor %}
{%- endfor %}