Merge lp:~jcsackett/charms/precise/charmworld/set-lp-credentials into lp:~juju-jitsu/charms/precise/charmworld/trunk
Status: | Merged |
---|---|
Merged at revision: | 82 |
Proposed branch: | lp:~jcsackett/charms/precise/charmworld/set-lp-credentials |
Merge into: | lp:~juju-jitsu/charms/precise/charmworld/trunk |
Prerequisite: | lp:~jcsackett/charms/precise/charmworld/cloud-tools-apt-fix |
Diff against target: |
41 lines (+12/-0) 3 files modified
config.yaml (+5/-0) hooks/config-changed (+6/-0) production_overrides.ini (+1/-0) |
To merge this branch: | bzr merge lp:~jcsackett/charms/precise/charmworld/set-lp-credentials |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+192073@code.launchpad.net |
Commit message
Updates the charm to set the lp_credentials as a config option.
Description of the change
The new review job requires an authenticated login to LP via launchpadlib. This
updates the charm to put the right user's (Charmbot) credentials into the
charmworld unit.
config.yaml && hooks/config-
-------
lp_credentials is added as a new option in config.yaml. hooks/config-
writes this out after the configure step. The location of the credentials file
is hardcoded to the webops_
production_
-------
The hardcoded path is added to the overrides. This is hardcoded b/c we're
already engaged in some magic to generate our .ini's--we want to minimize doing
this any further.