Skip to content

Commit

Permalink
Merge pull request #113 from brianholland99/master
Browse files Browse the repository at this point in the history
Add ConfigBanner to processed_options when handled.
  • Loading branch information
alxwr authored Aug 18, 2017
2 parents d157c0a + 6400516 commit 178692f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openssh/files/sshd_config
Original file line number Diff line number Diff line change
Expand Up @@ -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) %}
Expand Down

0 comments on commit 178692f

Please sign in to comment.