瀏覽代碼

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

Fixed supporting multiline banner_string defined in the pillar.
master
Niels Abspoel 7 年之前
父節點
當前提交
0eda16c548
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      openssh/banner.sls

+ 1
- 2
openssh/banner.sls 查看文件

@@ -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…
取消
儲存