Merge ~xavpaice/charm-landscape-tagger:docs into charm-landscape-tagger:master

Proposed by Xav Paice
Status: Merged
Approved by: Stephan Pampel
Approved revision: 828e31f0e06b262319fd1a4e226df71d570ad05f
Merged at revision: 828e31f0e06b262319fd1a4e226df71d570ad05f
Proposed branch: ~xavpaice/charm-landscape-tagger:docs
Merge into: charm-landscape-tagger:master
Diff against target: 46 lines (+24/-3)
1 file modified
README.md (+24/-3)
Reviewer Review Type Date Requested Status
Stephan Pampel (community) Approve
Edin S (community) Approve
🤖 prod-jenkaas-bootstack (community) continuous-integration Approve
Review via email: mp+407711@code.launchpad.net

Commit message

Update README.md

To post a comment you must log in.
Revision history for this message
🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote :

A CI job is currently in progress. A follow up comment will be added when it completes.

Revision history for this message
🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote :
review: Approve (continuous-integration)
Revision history for this message
Edin S (exsdev) :
review: Approve
Revision history for this message
Stephan Pampel (stephanpampel) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/README.md b/README.md
2index 03182df..748a892 100644
3--- a/README.md
4+++ b/README.md
5@@ -6,8 +6,25 @@ This charm provides a subordinate to accept tags from landscape-client
6 charms via relation data, and add them to the computer registration in
7 Landscape. Relies on being related to a LDS server unit.
8
9+Because of the reliance on Landscape server, the charm is usable only on
10+platforms supported by this charm, at this stage just Bionic.
11+
12 ## Usage
13
14+This charm is intended to be used as a subordinate charm to Landscape server
15+units. The charm uses the Landscape API to update tags associated with each
16+related computer, however in order to do that it does need some information
17+provided by configuration. The URL for the API, plus the API command line tool,
18+are provided by the Landscape packages installed by Landscape server.
19+
20+To use the charm, you will need to know the API key and secret, which is
21+provided by the `bootstrap` action in the Landscape charm. Alternately, if you
22+did not record that information, it is available in the GUI.
23+
24+The list of tags to add to computers is provided by the landscape-client charm,
25+and as such we must relate each landscape-client application to
26+landscape-tagger.
27+
28 ```
29 juju deploy --to landscape-server/0 landscape-tagger --config api-key=$APIKEY
30 --config api-secret=$APISECRET
31@@ -16,8 +33,12 @@ juju relate landscape-client:tags landscape-tagger:tags
32
33 ## Relations
34
35-The 'tags' relation is used to provide a list of tags plus the hostname to the
36-'landscape-tagger' application.
37+The 'tags' relation interface is used to provide a list of tags plus the
38+hostname to the 'landscape-tagger' application.
39
40-## Contributing
41+## Prerequisite branches
42
43+Change
44+https://code.launchpad.net/~xavpaice/landscape-client-charm/add_tags/+merge/407578
45+needs to be merged in order to use this charm. If that change is not yet
46+released, you may use cs:~bootstack-charmers/landscape-client

Subscribers

People subscribed via source and target branches

to all changes: