0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-28 01:18:12 +01:00

Merge pull request #112 from chessclub/multiline-banner-fix

Fixed supporting multiline banner_string defined in the pillar.
This commit is contained in:
Niels Abspoel 2017-08-11 10:30:56 +02:00 committed by GitHub
commit 0eda16c548

View File

@ -7,8 +7,7 @@ sshd_banner:
file.managed:
- name: {{ openssh.banner }}
{% if openssh.banner_string is defined %}
- contents: |
{{ openssh.banner_string }}
- contents: {{ openssh.banner_string | yaml }}
{% else %}
- source: {{ openssh.banner_src }}
- template: jinja