Split the sshd_config and banner components into sub-states

This commit is contained in:
Kenny Do
2014-01-03 18:32:05 -08:00
parent 0a2468d87a
commit 07771c0ebf
4 changed files with 31 additions and 17 deletions
-13
View File
@@ -8,17 +8,4 @@ openssh:
- name: {{ openssh.service }}
- require:
- pkg: {{ openssh.server }}
- file: sshd_banner
- watch:
- file: sshd_config
sshd_config:
file.managed:
- name: {{ openssh.sshd_config }}
- source: {{ openssh.sshd_config_src }}
sshd_banner:
file.managed:
- name: {{ openssh.banner }}
- source: {{ openssh.banner_src }}
- template: jinja