juju go/open command
Gustavo Niemeyer
gustavo.niemeyer at canonical.com
Tue Dec 11 12:56:55 UTC 2012
On Mon, Dec 10, 2012 at 11:46 PM, David Cheney
<david.cheney at canonical.com> wrote:
> Do'able, for platforms that support something akin to sensible-browser. Anyone else support this idea ?
+1
Here is a suggested mini-spec:
1) Command spec: juju browse <unit name> [<port>]
2) Implementation: pick the unit's public ip, and the *single* exposed open port
3) If there is more than one open port, print them out and ask for an
explicit positional parameter
4) If the unit is not exposed, or if there are no open ports, error
out accordingly
gustavo @ http://niemeyer.net
More information about the Juju-dev
mailing list