Browse Source

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

tags/v0.57.0
Brad Thurber 8 years ago
parent
commit
939aa37028
3 changed files with 14 additions and 15 deletions
  1. +1
    -1
      salt/files/gitfs_key.jinja
  2. +12
    -13
      salt/files/master.d/f_defaults.conf
  3. +1
    -1
      salt/gitfs/keys.sls

+ 1
- 1
salt/files/gitfs_key.jinja View File

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

+ 12
- 13
salt/files/master.d/f_defaults.conf 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.

+ 1
- 1
salt/gitfs/keys.sls View File

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

Loading…
Cancel
Save