[chef] Template not being written or silently failing in passenger-apache cookbook


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Template not being written or silently failing in passenger-apache cookbook
  • Date: Sun, 24 Mar 2013 21:30:58 -0700 (PDT)

Hi,

I am attempting to deploy a rails app behind Apache with Passenger.

My recipe code is of the form;

application "myservice" do
  
  path "/var/lib/myservice"

  ...

  passenger_apache2 do
  end

end

The passenger_apache2 provider delegates to a passenger_apache2::mod_rails
recipe that attempts to write two templates to the apache2 mods-available
directory, however they do not get written and no error is thrown.

If however I put the template code directly in my recipe they get written.

The code in passenger_apache2::mod_rails appears to get called, any idea why a
template write would fail?

Regards,
Tommy



Archive powered by MHonArc 2.6.16.

§