sshd state as test

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2020-07-11 17:57:40 +01:00
commit ee72b182a8
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86
2 changed files with 11 additions and 0 deletions

8
states/sshd/init.sls Normal file
View File

@ -0,0 +1,8 @@
openssh-client:
pkg.installed:
- version: latest
sshd-service:
service.running:
- name: ssh
- enable: true

3
states/top.sls Normal file
View File

@ -0,0 +1,3 @@
{{ saltenv }}:
'*':
- sshd