This will install openresty on RHEL and Debian based distros
TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
e.g.
- RHEL
- Debian
- Chef 12.0 or later
- openresty
- node[:openresty_version] default ==> 'openresty-1.11.2.2'
- node[:openresty_prefix] default ==> '/usr/local/openresty'
- node[:pcre_jit] default ==> 'true'
- node[:luajit] default ==> 'true'
- node[:http_ssl] default ==> 'true'
TODO: Write usage instructions for each cookbook.
e.g.
Just include openresty
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[openresty]"
]
}
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
e.g.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Atif Rizwan