Fix fetching default ssh_config.

Closes #153.
This commit is contained in:
Robin Elfrink 2019-02-27 14:04:42 +01:00
parent 3715cd601c
commit c3c2472562

View File

@ -1,5 +1,5 @@
{%- import_yaml "openssh/defaults.yaml" as default_settings -%} {%- import_yaml "openssh/defaults.yaml" as default_settings -%}
{%- set ssh_config = salt['pillar.get']('ssh_config', default=default_settings.ssh_config, merge=True) -%} {%- set ssh_config = salt['pillar.get']('ssh_config', default=default_settings.default.ssh_config, merge=True) -%}
{#- present in ssh_config and known in actual file options -#} {#- present in ssh_config and known in actual file options -#}
{%- set processed_options = [] -%} {%- set processed_options = [] -%}
{%- set string_or_list_options = ['KexAlgorithms', 'Ciphers', 'MACs'] -%} {%- set string_or_list_options = ['KexAlgorithms', 'Ciphers', 'MACs'] -%}