Descriptionstate: add SetAdminPassword
We also run the testing mongo in auth mode to make sure
that it's working. Next up: passwords for entities.
We don't include SetAdminPassword as part of state.Initialize
because otherwise all the testing stuff breaks - there
are several places (for instance testing.MgoReset) which assume
we can connect to the state at will without authorisation.
For the above reason we provide the capability to turn
off authorization (an empty password passed to SetAdminPassword);
we could provide an extra call to do that if it was deemed better.
https://code.launchpad.net/~rogpeppe/juju-core/102-mongo-auth-mode/+merge/127750
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : state: add SetAdminPassword #
Total comments: 4
Patch Set 3 : state: add SetAdminPassword #Patch Set 4 : state: add SetAdminPassword #
Total comments: 1
Patch Set 5 : state: add SetAdminPassword #
MessagesTotal messages: 6
|