|
@@ -162,7 +162,7 @@ declare a dependency on this cookbook and any framework cookbook the
|
|
|
application may need. For example a Rails application may include:
|
|
|
|
|
|
depends "application"
|
|
|
- depends "application_rails"
|
|
|
+ depends "application_ruby"
|
|
|
|
|
|
The default recipe should describe your application using the
|
|
|
`application` LWRP; you may also include additional recipes, for
|
|
@@ -179,12 +179,15 @@ A recipe using this LWRP may look like this:
|
|
|
repository "http://git.example.com/my-app.git"
|
|
|
revision "production"
|
|
|
|
|
|
+ # Apply the rails LWRP from application_ruby
|
|
|
rails do
|
|
|
- # Rails-specific configuration
|
|
|
+ # Rails-specific configuration. See the README in the
|
|
|
+ # application_ruby cookbook for more information.
|
|
|
end
|
|
|
|
|
|
+ # Apply the passenger_apache2 LWRP, also from application_ruby
|
|
|
passenger_apache2 do
|
|
|
- # Passenger-specific configuration
|
|
|
+ # Passenger-specific configuration.
|
|
|
end
|
|
|
end
|
|
|
|