Permalink
Browse files

Add nginx install cookbook

command:

$ vagrant ssh-config --host localhost.ubuntu >> ~/.ssh/config
$ itamae ssh --vagrant --host localhost.ubuntu roles/web.rb
  • Loading branch information...
mknkisk committed May 8, 2016
1 parent 46b4699 commit f229cf39494cf73c759e3562908b8422cacf0aad
Showing with 8 additions and 0 deletions.
  1. +6 −0 cookbooks/nginx/default.rb
  2. +2 −0 roles/web.rb
@@ -0,0 +1,6 @@
package 'nginx'

service 'nginx' do
action [:enable, :start]
end

@@ -0,0 +1,2 @@
# nginx
include_recipe "../cookbooks/nginx/default.rb"

0 comments on commit f229cf3

Please sign in to comment.