commit 24497f4e7202d825b9037713f210a56abe9378d5 Author: Joe Groocock Date: Sat Jul 11 17:57:40 2020 +0100 sshd state as test Signed-off-by: Joe Groocock diff --git a/states/sshd/init.sls b/states/sshd/init.sls new file mode 100644 index 0000000..39b8862 --- /dev/null +++ b/states/sshd/init.sls @@ -0,0 +1,7 @@ +sshd: + pkg.installed: + - name: openssh-client + - version: latest + service.running: + - name: ssh + - enable: true diff --git a/states/top.sls b/states/top.sls new file mode 100644 index 0000000..f48bad7 --- /dev/null +++ b/states/top.sls @@ -0,0 +1,3 @@ +{{ saltenv }}: + '*': + - sshd