openssh-formula/openssh/banner.sls

16 lines
336 B
Plaintext
Raw Normal View History

{% from "openssh/map.jinja" import openssh with context %}
include:
- openssh
sshd_banner:
file.managed:
- name: {{ openssh.banner }}
2017-07-28 00:55:34 +02:00
{% if openssh.banner_string is defined %}
- contents: |
{{ openssh.banner_string }}
{% else %}
- source: {{ openssh.banner_src }}
- template: jinja
2017-07-28 00:55:34 +02:00
{% endif %}