Allow to config banner in pillar

This commit is contained in:
Andres Montalban committed 2017-07-27 19:55:34 -03:00
1 parent 467c5e56fc
commit 500c915c33
2 files changed
+9

No files matched your search

+5
View File
@@ -6,5 +6,10 @@ include:
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 %}