Move the Hello World lua app to its own recipe
Use it in the development environment
This commit is contained in:
@@ -5,8 +5,3 @@
|
||||
|
||||
# Install openresty from official packages
|
||||
include_recipe 'openresty::apt_package'
|
||||
|
||||
openresty_site 'hello_world' do
|
||||
template 'hello_world.conf.erb'
|
||||
action :enable
|
||||
end
|
||||
|
||||
9
site-cookbooks/kosmos_openresty/recipes/hello_world.rb
Normal file
9
site-cookbooks/kosmos_openresty/recipes/hello_world.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Cookbook:: kosmos_openresty
|
||||
# Recipe:: hello_world
|
||||
#
|
||||
|
||||
openresty_site 'hello_world' do
|
||||
template 'hello_world.conf.erb'
|
||||
action :enable
|
||||
end
|
||||
Reference in New Issue
Block a user