commit ee72b182a82158a54a2440dedb09ea89a4de232c 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..5008abc --- /dev/null +++ b/states/sshd/init.sls @@ -0,0 +1,8 @@ +openssh-client: + pkg.installed: + - version: latest + +sshd-service: + 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