Merge lp:~adam-collard/landscape-charm/fix-landscape-readme into lp:~landscape/landscape-charm/trunk

Proposed by Adam Collard
Status: Superseded
Proposed branch: lp:~adam-collard/landscape-charm/fix-landscape-readme
Merge into: lp:~landscape/landscape-charm/trunk
Diff against target: 154 lines (+77/-4) (has conflicts)
2 files modified
README.md (+75/-2)
old/hooks/install (+2/-2)
Text conflict in README.md
To merge this branch: bzr merge lp:~adam-collard/landscape-charm/fix-landscape-readme
Reviewer Review Type Date Requested Status
Landscape Pending
Landscape Pending
Review via email: mp+255550@code.launchpad.net

Description of the change

Update the README to fix some formatting issues and update out of date text.

To post a comment you must log in.
225. By Adam Collard

Incorporate formatting suggestions from dpb and ack

Unmerged revisions

225. By Adam Collard

Incorporate formatting suggestions from dpb and ack

224. By Adam Collard

Update README

223. By David Britton

Merge update-readme. [r=fcorrea,dpb] [f=1434732] [a=Dean Henrichsmeyer]
Updated the README to reflect current bundle choices and the recommended way of
deploying Landscape Dedicated Server (LDS)

222. By David Britton

- Use hkp:// keyserver urls, as they work behind an http_proxy [r=free] [trivial]

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'README.md'
--- README.md 2015-03-27 14:10:50 +0000
+++ README.md 2015-04-08 17:41:30 +0000
@@ -10,6 +10,7 @@
10connected to other charms to be fully functional. Example deployments are given10connected to other charms to be fully functional. Example deployments are given
11below.11below.
1212
13<<<<<<< TREE
13For more information about Landscape, go to http://www.ubuntu.com/management14For more information about Landscape, go to http://www.ubuntu.com/management
1415
15Standard Usage16Standard Usage
@@ -40,22 +41,72 @@
40supplying it to juju quickstart.41supplying it to juju quickstart.
4142
42On the bundle page, download the `bundle.yaml` file.43On the bundle page, download the `bundle.yaml` file.
44=======
45For more information about Landscape, go to [Ubuntu Advantage](http://www.ubuntu.com/management)
46
47Standard Usage
48==============
49
50The typical deployment of Landscape happens using a Juju bundle. This charm is
51not useful without a deployed bundle of services.
52
53Please use one of the following bundle types depending on your needs:
54
55 * https://jujucharms.com/u/landscape/landscape-scalable/
56 * https://jujucharms.com/u/landscape/landscape-dense-maas/
57 * https://jujucharms.com/u/landscape/landscape-dense/
58
59For the landscape-scalable case:
60
61 $ sudo apt-add-repository ppa:juju/stable
62 $ sudo apt-get update
63 $ sudo apt-get install juju-quickstart
64 $ juju quickstart u/landscape/landscape-scalable
65
66
67Customized Deployments
68======================
69
70The standard deployment of Landscape will give you the latest released code.
71If you want a different version, different options, etc, you will need to
72download one of the bundles, and add/change options in the file before
73supplying it to juju quickstart.
74
75On the bundle page, download the `bundle.yaml` file.
76>>>>>>> MERGE-SOURCE
4377
4478
45Configuration79Configuration
46=============80=============
4781
82<<<<<<< TREE
48Landscape is a commercial product and as such it needs configuration of a 83Landscape is a commercial product and as such it needs configuration of a
49license and password protected repository before deployment. Please login to 84license and password protected repository before deployment. Please login to
50your "hosted account" (on landscape.canonical.com) to gather these details 85your "hosted account" (on landscape.canonical.com) to gather these details
51after purchasing seats for LDS. All information is found by following a link 86after purchasing seats for LDS. All information is found by following a link
52on the left side of the page called "access the Landscape Dedicated Server 87on the left side of the page called "access the Landscape Dedicated Server
53archive"88archive"
89=======
90Landscape is a commercial product which is bundled with a license
91allowing management of up to 10 physical machines and 10 more virtual
92machines, for a total of 20.
93
94If you need to manage more machines then you'll need to configure a
95license and password protected repository before deployment. Please
96login to your [hosted account](https://landscape.canonical.com/) to
97gather these details after purchasing seats for LDS. All information
98is found by following a link on the left side of the page called
99"access the Landscape Dedicated Server archive"
100>>>>>>> MERGE-SOURCE
54101
55license-file102license-file
56------------103------------
57104
105<<<<<<< TREE
58You can set this as a juju configuration option after deployment106You can set this as a juju configuration option after deployment
107=======
108You can set this as a Juju configuration option after deployment
109>>>>>>> MERGE-SOURCE
59on each deployed landscape-service like:110on each deployed landscape-service like:
60111
61 $ juju set <landscape-service> "license-file=$(cat license-file)"112 $ juju set <landscape-service> "license-file=$(cat license-file)"
@@ -64,25 +115,35 @@
64SSL115SSL
65===116===
66117
118<<<<<<< TREE
67The pre-packaged bundles will ask Apache to generate a self signed certificate.119The pre-packaged bundles will ask Apache to generate a self signed certificate.
68While useful for testing, this must not be used for production deployments.120While useful for testing, this must not be used for production deployments.
69121
70For production deployments, you should include a "real" SSL certificate key122For production deployments, you should include a "real" SSL certificate key
71pair that has been signed by a CA that your clients trust in the apache charm123pair that has been signed by a CA that your clients trust in the apache charm
72configuration.124configuration.
125=======
126The pre-packaged bundles will ask Apache to generate a self signed certificate.
127While useful for testing, this must not be used for production deployments.
128
129For production deployments, you should include a "real" SSL certificate key
130pair that has been signed by a CA that your clients trust in the Apache charm
131configuration.
132>>>>>>> MERGE-SOURCE
73133
74134
75Unit Testing135Unit Testing
76============136============
77137
78The Landscape charm is fairly well unit tested and new code changes138The Landscape charm is unit tested and new code changes should be
79should be submitted with unit tests. You can run them like this:139submitted with unit tests. You can run them like this:
80140
81 $ sudo apt-get install python-twisted-core141 $ sudo apt-get install python-twisted-core
82 $ make test142 $ make test
83143
84144
85Integration Testing145Integration Testing
146<<<<<<< TREE
86===================147===================
87148
88This charm makes use of juju-deployer and the charm-tools package to enable149This charm makes use of juju-deployer and the charm-tools package to enable
@@ -91,4 +152,16 @@
91152
92 # Make sure your JUJU_ENV is *not* bootstrapped, and:153 # Make sure your JUJU_ENV is *not* bootstrapped, and:
93 $ sudo apt-get install python-psycopg2 python-mocker python-psutil154 $ sudo apt-get install python-psycopg2 python-mocker python-psutil
155=======
156===================
157
158This charm makes use of
159[juju-deployer](http://pythonhosted.org/juju-deployer/) and
160[charm-tools](https://jujucharms.com/docs/1.20/tools-charm-tools) to
161enable end-to-end integration testing. This is how you proceed with
162running them:
163
164 # Make sure your JUJU_ENV is *not* bootstrapped, and:
165 $ sudo apt-get install python-pyscopg2 python-mocker python-psutil
166>>>>>>> MERGE-SOURCE
94 $ JUJU_ENV=<env> make integration-test167 $ JUJU_ENV=<env> make integration-test
95168
=== modified file 'old/hooks/install'
--- old/hooks/install 2014-06-20 20:11:09 +0000
+++ old/hooks/install 2015-04-08 17:41:30 +0000
@@ -74,8 +74,8 @@
74$174$1
75EOMSG75EOMSG
76 chmod go+r $SOURCES_FILE76 chmod go+r $SOURCES_FILE
77 apt-key adv --keyserver keyserver.ubuntu.com --recv-key D394F4BC77 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key D394F4BC
78 apt-key adv --keyserver keyserver.ubuntu.com --recv-key 4652B4E678 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key 4652B4E6
79}79}
8080
81function apt_get() {81function apt_get() {

Subscribers

People subscribed via source and target branches