Skip to content

Commit

Permalink
Added chef supermarket cookbook dependency to install nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
qtkhajacloud committed Nov 14, 2021
1 parent 7c15ab4 commit 52208d9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
#
# source_url 'https://github.com/<insert_org_here>/springbootexample'

depends 'mysql', '~> 11.0.0'
depends 'mysql', '~> 11.0.0'
depends 'nginx', '~> 12.0.7'
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@
action :create
end

nginx_install 'nginx' do
action :install
end

nginx_service 'nginx' do
action :enable
delayed_action :start
end

0 comments on commit 52208d9

Please sign in to comment.