Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
attributes
lib/tasks
libraries
recipes
resources
spec
templates/default
.codeclimate.yml
.gitignore
.kitchen.yml
.rspec
.rubocop.yml
.travis.yml
Berksfile
CHANGELOG.md
Gemfile
Gemfile.lock
README.md
Rakefile
Thorfile
Vagrantfile
chefignore
metadata.rb

README.md

Cookbook Version Build Status Code Climate Coverage Status Dependency Status

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

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: David Saenz Tagarro

You can’t perform that action at this time.