0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-12-02 23:37:04 +01:00

Merge pull request #113 from brianholland99/master

Add ConfigBanner to processed_options when handled.
This commit is contained in:
alxwr 2017-08-18 05:03:30 +02:00 committed by GitHub
commit 178692f92e

View File

@ -74,9 +74,10 @@
{%- endmacro -%} {%- endmacro -%}
{%- if sshd_config.get('ConfigBanner', False) -%} {%- if sshd_config.get('ConfigBanner', False) -%}
{{ sshd_config['ConfigBanner'] }} {%- do processed_options.append('ConfigBanner') -%}
{{ sshd_config['ConfigBanner'] }}
{%- else -%} {%- else -%}
# This file is managed by salt. Manual changes risk being overwritten. # This file is managed by salt. Manual changes risk being overwritten.
{%- endif %} {%- endif %}
{%- set global_src_url = salt ['pillar.get']('__formulas:print_template_url', None) %} {%- 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) %} {%- set local_src_url = salt ['pillar.get']('openssh-formula:print_template_url', None) %}