Created
June 7, 2014 05:04
-
-
Save kokuyouwind/bcb965ab02e8aee6db1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service "sshd" do | |
supports :status => true, :restart => true, :reload => true | |
action [ :enable, :start ] | |
end | |
template "/etc/ssh/sshd_config" do | |
source "sshd_config.erb" | |
owner "root" | |
group "root" | |
notifies :reload, "service[sshd]" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment