~hduran-8/juju-core/add_create_stream_script

Viewing all changes in revision 2527.

  • Committer: Tarmac
  • Author(s): mattyw, Matthew Williams
  • Date: 2014-04-01 14:55:36 UTC
  • mfrom: (2303.4.44 user-add-remove-cli)
  • Revision ID: tarmac-20140401145536-0l5f7pln1d1pm24d
[r=mattyw],[bug=1285256] https://codereview.appspot.com/75600044/

Preliminary support for basic juju id commands:

juju add-user <username> <password>

if password is not supplied a strong one is generated.
The resulting jenv file is output (or saved to a file if -o option is provided)

juju remove-user <username>

doesn't actually remove the user. But mark them as inactive

add-user and remove-user aren't registered yet as they are useless without
login. But the details of this are still being worked out.

This branch also contains fixes for lp:1285256.
The EnvCommandBase struct includes a function for ensuring the envname is not ""

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: