cookbook 'phusionpassenger', '~> 0.1.2'
phusionpassenger (3) Versions 0.1.2 Follow0
Installs Phusion Passenger 5+
cookbook 'phusionpassenger', '~> 0.1.2', :supermarket
knife supermarket install phusionpassenger
knife supermarket download phusionpassenger
phusionpassenger Cookbook
Ultra lightweight cookbook for installing Phusion Passenger 5
Requirements
Platforms
- Ubuntu 14.04 LTS
Chef
- Chef 12.2.0
packages
-
phusionpassenger::default
- Installs Phusion Passenger
Attributes
phusionpassenger::default
See attributes/default.rb
for default values.
-
node['phusionpassenger']['keyserver']
- Key server url -
node['phusionpassenger']['recv_keys']
- Key id
Resources
Example creating a site
passenger_site 'creating_site' do document_root '/var/www/application/releases/current' environment 'USER' => 'deployer', 'HOME' => '/home/deployer' server_name 'application.test' server_alias %w(www.application.test) user 'deployer' end
Example enabling a site
passenger_site 'enabling_site' do server_name 'application.test' action :enable end
Usage
phusionpassenger::default
Just include phusionpassenger
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[phusionpassenger]" ] }
Sharing
knife cookbook site share "phusionpassenger" "Web Servers"
Contributing
- 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
License and Authors
Authors: David Saenz Tagarro
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
phusionpassenger CHANGELOG
This file is used to list changes made in each version of the phusionpassenger cookbook.
0.1.0
- Initial release of phusionpassenger
0.1.1
- Refactoring parameters of site resource
- Added documentation for site resource
0.1.2
- Fixed log entries in virtualhost conf
- Added passenger entries in virtualhost conf
- Add
server_alias
property to resource
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.2 failed this metric
FC066: Ensure chef_version is set in metadata: phusionpassenger/metadata.rb:1
FC117: Do not use kind_of in custom resource properties: phusionpassenger/resources/site.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.2 failed this metric
FC066: Ensure chef_version is set in metadata: phusionpassenger/metadata.rb:1
FC117: Do not use kind_of in custom resource properties: phusionpassenger/resources/site.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
FC117: Do not use kind_of in custom resource properties: phusionpassenger/resources/site.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number