Debug problem
Gustavo Niemeyer
gustavo.niemeyer at canonical.com
Wed Nov 14 16:42:37 UTC 2012
On Wed, Nov 14, 2012 at 2:36 PM, Peter M. Petrakis
<peter.petrakis at canonical.com> wrote:
> It would be neat if we could run debug-hooks directly on the host
> or just setup the entire environment on demand. This would also
> help with ancillary scripts that support complex charms. Currently
> I have to save away any envvars necessary at install time and
> echo | sed them into local scripts to maintain context.
We're actually on the way to have something very handy, but I'm not
sure if it's exactly what you're looking for. We'll soon have a
juju-run command that can be execute any script out-of-band, and have
the full hook context so that the host can do whatever is needed even
when no hooks are up.
Would that help your use case?
gustavo @ http://niemeyer.net
More information about the Juju
mailing list