Quellcode durchsuchen

add optional `{{source}} to sshd_config

master
Florian Ermisch vor 7 Jahren
Ursprung
Commit
dbf51549ed
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  1. +8
    -0
      openssh/files/sshd_config

+ 8
- 0
openssh/files/sshd_config Datei anzeigen

@@ -66,6 +66,14 @@
{%- else -%}
# This file is managed by salt. Manual changes risk being overwritten.
{%- 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 %}
# The contents of the original sshd_config are kept on the bottom for
# quick reference.
# See the sshd_config(5) manpage for details

Laden…
Abbrechen
Speichern