diff options
author | Julien Dessaux | 2018-03-13 18:25:00 +0100 |
---|---|---|
committer | Julien Dessaux | 2018-03-13 18:25:00 +0100 |
commit | 8a33ae8d02af665e2f91a3445f4d719eecdbe325 (patch) | |
tree | f0e20d7c06cdaa9d8aebc992a061a881b3d5823b /services | |
parent | Moved to a more traditional update.cf mechanism without overwriting the built... (diff) | |
download | masterfiles-8a33ae8d02af665e2f91a3445f4d719eecdbe325.tar.gz masterfiles-8a33ae8d02af665e2f91a3445f4d719eecdbe325.tar.bz2 masterfiles-8a33ae8d02af665e2f91a3445f4d719eecdbe325.zip |
Ensure sshd is running on linux servers
Diffstat (limited to 'services')
-rw-r--r-- | services/applications/sshd.cf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/applications/sshd.cf b/services/applications/sshd.cf index c4448a4..bb452e4 100644 --- a/services/applications/sshd.cf +++ b/services/applications/sshd.cf @@ -21,6 +21,11 @@ bundle agent sshd commands: freebsd.!sshd_service_running:: "/usr/sbin/service sshd start" classes => if_repaired("sshd_service_repaired"); + services: + linux:: + "sshd" + service_policy => "start", + classes => if_repaired("sshd_service_repaired"); reports: any:: "$(this.bundle): /root/.ssh directory repaired" ifvarclass => "sshd_ssh_dir_repaired"; |