cookbook 'nginx_resources', '= 0.1.0'
nginx_resources
(17) Versions
0.1.0
-
Follow0
Cookbook to install nginx with resources
cookbook 'nginx_resources', '= 0.1.0', :supermarket
knife supermarket install nginx_resources
knife supermarket download nginx_resources
nginx_resources cookbook
Installs nginx and dependant modules from source in a modular fashion.
Status
This is an initial release of the cookbook which has been through minor non-exhaustive testing. Additional work needs to be done to test more extensively as well as to flesh out the documentation. That being said, the interfaces ought to be fairly consistent moving forward.
Requirements
Chef
This cookbook requires Chef 12.7 and above.
Platforms
At present, only Ubuntu < 16.04 is supported, however adding support for other distributions should be a simple matter.
Recipes
The recipes are designed to create a default nginx installation called default
and will utilize the resources listed below.
- TODO - Mawr docs
Custom Resources
nginx_resources_instance
- TODO - Mawr docs
nginx_resources_build
- TODO - Mawr docs
nginx_resources_module
- TODO - Mawr docs
nginx_resources_source
- TODO - Mawr docs
nginx_resources_config
- TODO - Mawr docs
Dependent cookbooks
build-essential ~> 2.3.0 |
apt ~> 3.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.1.0 failed this metric
FC002: Avoid string interpolation where not required: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/attributes/module_ssl.rb:14
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/build.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/config.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/instance.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/module.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/site.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/source.rb:1
FC023: Prefer conditional attributes: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/recipes/install_user.rb:3
0.1.0 failed this metric
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/build.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/config.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/instance.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/module.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/site.rb:1
FC016: LWRP does not declare a default action: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/resources/source.rb:1
FC023: Prefer conditional attributes: /tmp/a77c81eb3d8576fa9045b26f/nginx_resources/recipes/install_user.rb:3