Browse Source

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

Fixed supporting multiline banner_string defined in the pillar.
master
Niels Abspoel 7 years ago
parent
commit
0eda16c548
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      openssh/banner.sls

+ 1
- 2
openssh/banner.sls 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

Loading…
Cancel
Save