vhost-config apache2 hook
David Britton
david.britton at canonical.com
Tue Jan 27 20:50:35 UTC 2015
On Tue, Jan 27, 2015 at 04:58:29PM -0300, Nicolás Pace wrote:
> Hi,
Hi Nicolás,
>
> Any idea where to go from here?
Have you tried doing 'juju debug-hooks <unit>'? This helps me greatly
when trying to figure out why hooks aren't working. You can manually
fire the hook off and make sure data is set/received correctly (on the
sender and receiver end!)
https://juju.ubuntu.com/docs/authors-hook-debug.html
My other bit of advice is to check out the landscape charm. While much
more complicated than an example, it does successfully use the
vhost-config hook:
https://code.launchpad.net/~landscape/landscape-charm/stable
--
David Britton <david.britton at canonical.com>
More information about the Juju
mailing list