cookbook 'simple_passenger', '= 0.2.3'
simple_passenger (13) Versions 0.2.3 Follow0
Chef cookbook to deploy rack based Ruby web applications with Passenger standalone
cookbook 'simple_passenger', '= 0.2.3', :supermarket
knife supermarket install simple_passenger
knife supermarket download simple_passenger
simple_passenger
Chef cookbook
Chef cookbook to deploy a rack based Ruby web application with
Passenger standalone.
Usage
Pretty straightforward, this cookbook only has one required attribute. Specify
['passenger']['git_repo']
pointing to your git repository (with the .git
on the end) and call
the default recipe to run your app with passenger standalone.
This cookbook also creates a Passengerfile.json
using the attributes under
['passenger']['passengerfile']
. Refer to the
Passengerfile.json
reference
and the [attributes](./attributes/) directory for help with these attributes.
Testing
# install gem dependencies bundle # unit tests bundle exec rspec # integration tests bundle exec kitchen test
Contributing
Enhancements and bug fixes are appreciated! Remember, this cookbook is designed to be very simple.
- Fork the repo
- Create a feature or fix branch with an intuitive name (
fix/some-bug
,feat/some-feature
) - Add relevant tests (kitchen, chefspec, etc)
- Create a pull request back to this repo
Chef Supermarket
This cookbook is available in the community Chef Supermarket. To push new versions:
bundle install --binstubs # make changes # update metadata version git commit -am 'some fixes' git push # push to github and supermarket bin/stove
Dependent cookbooks
logrotate ~> 1.9.2 |
build-essential ~> 6.0.0 |
apt ~> 4.0.1 |
ruby_build ~> 0.8.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.2.3 failed this metric
FC024: Consider adding platform equivalents: /tmp/cook/f14549327b858fd780f310f2/simple_passenger/recipes/default.rb:125
0.2.3 failed this metric