Proposal: new package juju-core/cmd/service

David Cheney david.cheney at canonical.com
Fri Jun 29 02:05:12 UTC 2012


Hi, 

In order to run a local provisioner for the local ec2 tests, I need to get access to the Provisioner type which lives in juju-core/cmd/jujud. Sadly this is a command, not a package, so can't be imported by other code. I am proposing moving the Provisioner type into a new package, where it can be imported by jujud or any other package that needs it. I think this is preferable to using os/exec to run a jujud binary in the local test mode. 

I should have a branch proposal this afternoon for your perusal. The same will probably apply for the Firewaller and Machiner.

Cheers

Dave 





More information about the Juju-dev mailing list