[chef] application cookbook w/ Rails app


Chronological Thread 
  • From: Wes Morgan < >
  • To:
  • Subject: [chef] application cookbook w/ Rails app
  • Date: Sat, 21 Jul 2012 11:09:30 -0600

I'm trying to deploy a Rails app using the new application cookbook. 
According to the README, I'm supposed to declare a dependency on the 
application_rails cookbook in the metadata.rb, but that doesn't seem to 
exist. Earlier in the README, application_ruby is mentioned, so I switched it 
to that. Do we need a documentation fix there?

Anyway, I can't quite figure out how the rails-y portion of the cookbook is 
supposed to be invoked. Just declaring a "depends" line in metadata.rb 
doesn't actually run anything, does it?

I see in the examples that there is a rails do ... end block in the 
application's block. Is that what triggers it?

Does anyone have a working example of deploying a Rails app w/ the new 
application cookbook?

Wes


Archive powered by MHonArc 2.6.16.

§