{ "name": "passenger_apache2", "description": "Installs passenger for Apache2", "long_description": "Description\n====\n\nInstalls passenger for Apache 2.\n\nRequirements\n====\n\n## Platform\n\nTested on Ubuntu 10.04. Should work on any Ubuntu/Debian platforms.\n\n## Cookbooks\n\nOpscode cookbooks:\n\n* apache2\n* build-essential\n\nAttributes \n====\n\n* `passenger[:version]` - Specify the version of passenger to install.\n* `passenger[:max_pool_size]` - Sets PassengerMaxPoolSize in the Apache module config.\n* `passenger[:root_path]` - The location of the passenger gem.\n* `passenger[:module_path]` - The location of the compiled passenger apache module.\n\nRecipes\n=======\n\ndefault\n-------\nInstalls the passenger gem.\n\nmod_rails\n---------\nInstalls the passenger gem and enables the module in Apache2.\n\nUsage\n====\n\nFor example, to run a Rails application on passenger:\n\n include_recipe \"rails\"\n include_recipe \"passenger_apache2\"\n \n web_app \"myproj\" do\n docroot \"/srv/myproj/public\"\n server_name \"myproj.#{node[:domain]}\"\n server_aliases [ \"myproj\", node[:hostname] ]\n rails_env \"production\"\n end\n\nA sample config template is provided, `web_app.conf.erb`. If this is suitable for your application, add 'cookbook \"passenger\"' to the define above to use that template. Otherwise, copy the template to the cookbook where you're using `web_app`, and modify as needed. The cookbook parameter is optional, if omitted it will search the cookbook where the define is used.\n\nLicense and Author\n====\n\nAuthor:: Joshua Timberman ()\nAuthor:: Joshua Sierles ()\nAuthor:: Michael Hale ()\n\nCopyright:: 2009-2011, Opscode, Inc\nCopyright:: 2009, 37signals\nCoprighty:: 2009, Michael Hale\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", "maintainer": "Opscode, Inc.", "maintainer_email": "cookbooks@opscode.com", "license": "Apache 2.0", "platforms": { "redhat": ">= 0.0.0", "centos": ">= 0.0.0", "ubuntu": ">= 0.0.0", "debian": ">= 0.0.0", "arch": ">= 0.0.0" }, "dependencies": { "apache2": ">= 1.0.4", "build-essential": ">= 0.0.0" }, "recommendations": { }, "suggestions": { }, "conflicting": { }, "providing": { }, "replacing": { }, "attributes": { }, "groupings": { }, "recipes": { "passenger_apache2": "Installs Passenger as an Apache module", "passenger_apache2::mod_rails": "Enables Apache module configuration for passenger module" }, "version": "1.1.0" }