sshd state as test

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2020-07-11 23:06:19 +01:00
commit 0855a52491
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 @@
base:
'*':
- sshd