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 e2e7c67e47
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86
2 changed files with 9 additions and 0 deletions

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

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

3
states/top.sls Normal file
View File

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