Parcourir la source

Merge pull request #113 from brianholland99/master

Add ConfigBanner to processed_options when handled.
master
alxwr il y a 7 ans
Parent
révision
178692f92e
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. +3
    -2
      openssh/files/sshd_config

+ 3
- 2
openssh/files/sshd_config Voir le fichier

@@ -74,9 +74,10 @@
{%- endmacro -%}

{%- if sshd_config.get('ConfigBanner', False) -%}
{{ sshd_config['ConfigBanner'] }}
{%- do processed_options.append('ConfigBanner') -%}
{{ sshd_config['ConfigBanner'] }}
{%- else -%}
# This file is managed by salt. Manual changes risk being overwritten.
# 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) %}

Chargement…
Annuler
Enregistrer