Set up openresty #502

Merged
raucao merged 27 commits from feature/501-openresty into master 2023-07-25 11:24:40 +00:00
3 changed files with 15 additions and 6 deletions
Showing only changes of commit 4e0bd191c3 - Show all commits

View File

@ -1,11 +1,16 @@
name "openresty"
development_run_list = %w(
kosmos_openresty::default
kosmos_openresty::hello_world
)
default_run_list = %w(
kosmos_openresty::default
)
env_run_lists(
'_default' => default_run_list,
'development' => default_run_list,
'development' => development_run_list,
'production' => default_run_list
)

View File

@ -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

View File

@ -0,0 +1,9 @@
#
# Cookbook:: kosmos_openresty
# Recipe:: hello_world
#
openresty_site 'hello_world' do
template 'hello_world.conf.erb'
action :enable
end