Przeglądaj źródła

add optional `{{source}} to ssh_config

master
Florian Ermisch 7 lat temu
rodzic
commit
e298397cc7
1 zmienionych plików z 7 dodań i 0 usunięć
  1. +7
    -0
      openssh/files/ssh_config

+ 7
- 0
openssh/files/ssh_config Wyświetl plik

@@ -73,6 +73,13 @@
# Do not edit this file manually!
# It will be overwritten by salt!
{%- endif %}
{%- set global_src_url = salt ['pillar.get']('__formulas:print_template_url', None) %}
{%- set local_src_url = salt ['pillar.get']('openssh-formula:print_template_url', None) %}
{%- if (global_src_url and local_src_url is none) or local_src_url %}
#
# Template used to generate this file:
# {{ source }}
{%- endif %}

{%- if 'Hosts' in ssh_config %}
{%- do processed_options.append('Hosts') %}

Ładowanie…
Anuluj
Zapisz