openssh-formula/openssh/banner.sls
2017-07-27 19:55:34 -03:00

16 lines
336 B
Plaintext

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