Added ssh::disable class which disables ssh server.

This commit is contained in:
Timo Mkinen 2009-09-29 23:31:31 +03:00
parent 340bf65d56
commit 91ce5b61cf

View file

@ -21,3 +21,15 @@ class ssh::known_hosts {
}
}
# Disable SSH server.
#
class ssh::disable {
service { "sshd":
ensure => stopped,
enable => false,
}
}