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


Chronological Thread 
  • From: Mike < >
  • To: " " < >
  • Subject: [chef] Re: Template not being written or silently failing in passenger-apache cookbook
  • Date: Mon, 25 Mar 2013 10:40:53 +0200

Have you run chef-client in debug mode and inspected the output for
these particular statements?
This may provide insight as to what is going on.

On Mon, Mar 25, 2013 at 6:30 AM,  
< >
 wrote:
> 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.

§