Merge pull request #112 from chessclub/multiline-banner-fix
Fixed supporting multiline banner_string defined in the pillar.
This commit is contained in:
commit
0eda16c548
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue