- From: Arnold Krille <
>
- To:
- Subject: [chef] Re: Re: Need some help for django-deployment
- Date: Sat, 16 Feb 2013 00:59:45 +0100
On Fri, 15 Feb 2013 12:58:54 -0800 Noah Kantrowitz
<
>
wrote:
>
You'll want to spell that
>
"run_context.resource_collection.find('service[apache2]').run_action(:reload)"
>
I think.
Thanks, I will try that on monday when the next revision-bump happens
for that alpha-release.
Somehow I have the feeling that my problem is related to the fact that
foodcritic complains about application_python not notifying of changes.
If it would, I could just connect that change-signal to the restart of
service[apache2], correct?
Have fun,
Arnold
>
On Feb 15, 2013, at 12:54 PM, Arnold Krille wrote:
>
>
> Hi folks,
>
>
>
> I do have a little problem with the deployment of our django-app.
>
> Maybe you guys (and girls) can help?
>
>
>
> Its nothing fancy yet, just a postgresql (on a different machine)
>
> and django served via wsgi on apache2.
>
>
>
> The snipped below from our recipe does everything alright in
>
> updating the source from the repo and deploying it. But the one
>
> thing it doesn't do is restarting the apache2. I tried adding
>
> notifies at several places, I even did put an execute-block in
>
> after_restart but I can't get apache2 to restart when the
>
> deployment switched to a new revision.
>
>
>
> Do you have an idea?
Attachment:
signature.asc
Description: PGP signature
Archive powered by MHonArc 2.6.16.