Skip to content

Commit

Permalink
Add nginx install cookbook
Browse files Browse the repository at this point in the history
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 f229cf3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cookbooks/nginx/default.rb
@@ -0,0 +1,6 @@
package 'nginx'

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

2 changes: 2 additions & 0 deletions roles/web.rb
@@ -0,0 +1,2 @@
# nginx
include_recipe "../cookbooks/nginx/default.rb"

0 comments on commit f229cf3

Please sign in to comment.