openssh-formula/openssh/banner.sls

15 lines
333 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 | yaml }}
2017-07-28 00:55:34 +02:00
{% else %}
- source: {{ openssh.banner_src }}
- template: jinja
2017-07-28 00:55:34 +02:00
{% endif %}