Created
September 6, 2011 18:26
-
-
Save mguterl/1198526 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 :restart => true | |
end | |
template "/etc/ssh/sshd_config" do | |
source "sshd_config.erb" | |
cookbook "sshd_config" | |
mode "0644" | |
notifies :restart, resources(:service => "sshd") | |
end |
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
[Tue, 06 Sep 2011 14:25:44 -0400] INFO: *** Chef 0.10.4 *** | |
[Tue, 06 Sep 2011 14:25:46 -0400] INFO: Run List is [role[redis]] | |
[Tue, 06 Sep 2011 14:25:46 -0400] INFO: Run List expands to [sshd_config, ufw::databag, redis2::default_instance] | |
[Tue, 06 Sep 2011 14:25:46 -0400] INFO: Starting Chef Run for li282-182.members.linode.com | |
[Tue, 06 Sep 2011 14:25:47 -0400] INFO: Loading cookbooks [firewall, redis2, runit, sshd_config, ufw] | |
[Tue, 06 Sep 2011 14:25:48 -0400] INFO: Firewall rules unchanged. | |
[Tue, 06 Sep 2011 14:25:48 -0400] INFO: Processing service[sshd] action nothing (sshd_config::default line 10) | |
[Tue, 06 Sep 2011 14:25:48 -0400] INFO: Processing template[/etc/ssh/sshd_config] action create (sshd_config::default line 14) | |
[Tue, 06 Sep 2011 14:25:48 -0400] INFO: template[/etc/ssh/sshd_config] backed up to /var/chef/backup/etc/ssh/sshd_config.chef-20110906142548 | |
[Tue, 06 Sep 2011 14:25:48 -0400] INFO: template[/etc/ssh/sshd_config] mode changed to 644 | |
[Tue, 06 Sep 2011 14:25:48 -0400] INFO: template[/etc/ssh/sshd_config] updated content | |
[Tue, 06 Sep 2011 14:25:48 -0400] INFO: Processing package[ufw] action install (ufw::default line 21) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment