0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-30 20:05:48 +01:00

Fixed supporting multiline banner_string defined in the pillar.

This commit is contained in:
Tibold Kandrai 2017-08-10 14:48:02 +02:00
parent 0924649158
commit 83e60fd840

View File

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