Remove duplicated pillar.get calls to retrieve the sshd_config and ssh_config pillars

This commit is contained in:
Meng Chen authored and alxwr committed 2019-05-25 01:52:33 +02:00
1 parent 463ad69d92
commit 3e01ad816a
4 files changed
+14 -16

No files matched your search

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