Merge lp:~bkerensa/pyjuju/docs into lp:~charm-contributors/pyjuju/docs

Proposed by Benjamin Kerensa
Status: Rejected
Rejected by: Marco Ceppi
Proposed branch: lp:~bkerensa/pyjuju/docs
Merge into: lp:~charm-contributors/pyjuju/docs
Diff against target: 293 lines (+41/-41)
6 files modified
source/about.rst (+2/-2)
source/charm.rst (+2/-2)
source/faq.rst (+21/-21)
source/getting-started.rst (+12/-12)
source/marketing.html (+3/-3)
source/provider-configuration-local.rst (+1/-1)
To merge this branch: bzr merge lp:~bkerensa/pyjuju/docs
Reviewer Review Type Date Requested Status
Marco Ceppi (community) Needs Fixing
Review via email: mp+119689@code.launchpad.net

Description of the change

Improved Casing Consistency

To post a comment you must log in.
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

Make sure "Juju" in the config stanzas (Juju-origin: ppa or control-bucket: Juju09asfa...) remain lower case.

review: Needs Fixing

Unmerged revisions

62. By Benjamin Kerensa

Improved Use of Casing for Consistency

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'source/about.rst'
2--- source/about.rst 2012-06-19 16:52:27 +0000
3+++ source/about.rst 2012-08-15 08:56:19 +0000
4@@ -1,4 +1,4 @@
5-About juju
6+About Juju
7 ==========
8
9 For a long time now Linux server deployments have been moving towards the
10@@ -27,7 +27,7 @@
11 in deploying, maintaining, and enriching distributed software configurations.
12
13 This is the challenge which motivates the research happening through the
14-juju project at Canonical. juju aims to be a service deployment and
15+Juju project at Canonical. Juju aims to be a service deployment and
16 orchestration tool which enables the same kind of collaboration and ease of
17 use which today is seen around package management to happen on a higher
18 level, around services. With juju, different authors are able to create
19
20=== modified file 'source/charm.rst'
21--- source/charm.rst 2012-05-15 00:22:43 +0000
22+++ source/charm.rst 2012-08-15 08:56:19 +0000
23@@ -6,7 +6,7 @@
24
25 Charms define how services integrate and how their service units
26 react to events in the distributed environment, as orchestrated by
27-juju.
28+Juju.
29
30 This specification describes how charms are defined, including their
31 metadata and hooks. It also describes the resources available to hooks
32@@ -106,7 +106,7 @@
33 Hooks
34 -----
35
36-juju uses hooks to notify a service unit about changes happening
37+Juju uses hooks to notify a service unit about changes happening
38 in its lifecycle or the larger distributed environment. A hook running
39 for a service unit can query this environment, make any desired local
40 changes on its underlying machine, and change the relation
41
42=== modified file 'source/faq.rst'
43--- source/faq.rst 2012-06-20 17:37:44 +0000
44+++ source/faq.rst 2012-08-15 08:56:19 +0000
45@@ -4,16 +4,16 @@
46 Frequently Asked Questions
47 ==========================
48
49-Where does the name juju come from?
50+Where does the name Juju come from?
51 -----------------------------------
52
53 It means magic in the same african roots where the word ubuntu comes from.
54 Please see http://afgen.com/juju.html for a more detailed explanation.
55
56-Why is juju useful?
57+Why is Juju useful?
58 -------------------
59
60- juju is a next generation service deployment and orchestration
61+ Juju is a next generation service deployment and orchestration
62 framework. It has been likened to APT for the cloud. With juju,
63 different authors are able to create service charms independently, and
64 make those services coordinate their communication through a simple
65@@ -22,25 +22,25 @@
66 multiple machines and components transparently collaborating towards
67 providing the requested service. Read more :doc:`about`
68
69-When will it be ready for production?
70+When will Juju be ready for production?
71 -------------------------------------
72
73- As of Ubuntu 12.04, juju is considered beta. It is not yet
74+ As of Ubuntu 12.04, Juju is considered beta. It is not yet
75 ready to be used in production. However, adventurous users are encouraged to
76 evaluate it, study it, start writing charms for it or start hacking on
77- juju internals.
78+ Juju internals.
79
80-What language is juju developed in?
81+What language is Juju developed in?
82 -----------------------------------
83
84- juju itself is developed using Python. However, writing charms for
85- juju can be done in any language. All juju cares about is finding a
86+ Juju itself is developed using Python. However, writing charms for
87+ Juju can be done in any language. All Juju cares about is finding a
88 set of executable files, which it will trigger appropriately
89
90 Does juju start from a pre-configured AMI Image?
91 ------------------------------------------------
92
93- No, juju uses a plain Ubuntu image. All needed components are installed
94+ No, Juju uses a plain Ubuntu image. All needed components are installed
95 at run-time. Then the juju charm is sent to the machine and hooks start
96 getting executed in response to events. If you need a custom AMI you can
97 specify it in the environments.yaml file.
98@@ -49,23 +49,23 @@
99 -------------------------------------------------------
100
101 Currently each service unit is deployed to a separate machine that can relate
102- to other services running on different nodes. This was done to get juju into a
103- working state faster. juju will definitely support multiple services per
104+ to other services running on different nodes. This was done to get Juju into a
105+ working state faster. Juju will definitely support multiple services per
106 machine in the future
107
108-Is it possible to pass parameters to juju charms?
109+Is it possible to pass parameters to Juju charms?
110 -------------------------------------------------
111
112- Tunables are landing very soon in juju. Once ready you will be able to use
113+ Tunables are landing very soon in Juju. Once ready you will be able to use
114 "juju set service key=value" and respond to that from within the juju charm.
115 This will enable dynamic features to be added to charms
116
117-Does juju only deploy to the Amazon EC2 cloud?
118+Does Juju only deploy to the Amazon EC2 cloud?
119 ----------------------------------------------
120
121 No. juju can deploy to EC2, OpenStack, and bare metal (`MAAS
122 <https://wiki.ubuntu.com/ServerTeam/MAAS/Juju>`_) via LXC containers or
123- Orchestra .
124+ Orchestra.
125 When using LXC you are able to run juju charms on a single local machine.
126 This is the recommended method for prototyping charms as it's quicker to
127 iterate locally and then deploy on the cloud when you're ready to test.
128
129@@ -81,7 +81,7 @@
130 How are charms licensed?
131 ------------------------
132
133- Charms are effectively data inputs to juju, and are therefore
134+ Charms are effectively data inputs to Juju, and are therefore
135 licensed/copyrighted by the author as an independent work. You are free to
136 claim copyright solely for yourself if it's an independent work, and to
137 license it as you see fit. If you as the charm author are performing the work
138@@ -100,19 +100,19 @@
139 subcommands accept an ``-e`` parameter that can be used to specify the name
140 of the desired environment.
141
142-How can I contact the juju team?
143+How can I contact the Juju team?
144 --------------------------------
145
146 User and charm author oriented resources
147 * Mailing list: https://lists.ubuntu.com/mailman/listinfo/juju
148 Ubuntu Cloud IRC (Freenode)
149 * irc://irc.freenode.net/#ubuntu-server
150- juju development
151+ Juju development
152 * Mailing list: https://lists.ubuntu.com/mailman/listinfo/juju-devel
153- juju IRC (Freenode)
154+ Juju IRC (Freenode)
155 * irc://irc.freenode.net/#juju & irc://irc.freenode.net/#juju-dev
156
157-Where can I find out more about juju?
158+Where can I find out more about Juju?
159 -------------------------------------
160
161 * Portal Site: http://juju.ubuntu.com/
162
163=== modified file 'source/getting-started.rst'
164--- source/getting-started.rst 2012-08-13 18:49:36 +0000
165+++ source/getting-started.rst 2012-08-15 08:56:19 +0000
166@@ -6,11 +6,11 @@
167 Introduction
168 ------------
169
170-This tutorial gets you started with juju. A prerequisite is the
171+This tutorial gets you started with Juju. A prerequisite is the
172 access credentials to a dedicated computing environment such as what
173 is offered by a virtualized cloud hosting environment.
174
175-juju has been designed for environments which can provide a
176+Juju has been designed for environments which can provide a
177 new machine with an Ubuntu cloud operating system image
178 on-demand. This includes services such as `Amazon EC2
179 <http://aws.amazon.com/ec2/>`_ , `HP Cloud <http://hpcloud.com>_` or `RackSpace
180@@ -24,13 +24,13 @@
181 Installation
182 ----------------
183
184-The juju team's Personal Package Archive (PPA) installation is
185-currently the preferred installation mechanism for juju. To install juju from the PPA, execute the following in a shell::
186+The Juju team's Personal Package Archive (PPA) installation is
187+currently the preferred installation mechanism for Juju. To install Juju from the PPA, execute the following in a shell::
188
189 sudo add-apt-repository ppa:juju/pkgs
190 sudo apt-get update && sudo apt-get install juju
191
192-The juju environment can now be configured.
193+The Juju environment can now be configured.
194
195
196 Configuring your environment using EC2
197@@ -51,12 +51,12 @@
198 control-bucket: juju-faefb490d69a41f0a3616a4808e0766b
199 admin-secret: 81a1e7429e6847c4941fda7591246594
200 default-series: precise
201- juju-origin: ppa
202+ Juju-origin: ppa
203 ssl-hostname-verification: true
204
205 Which is a sample environment configured to run with EC2 machines and S3
206 permanent storage. To make this environment actually useful, you will need
207-to tell juju about an AWS access key and secret key. To do this, you
208+to tell Juju about an AWS access key and secret key. To do this, you
209 can either set the ``AWS_ACCESS_KEY_ID`` and ``AWS_SECRET_ACCESS_KEY``
210 environment variables (as usual for other EC2 tools) or you can add
211 ``access-key`` and ``secret-key`` options to your ``environments.yaml``.
212@@ -68,10 +68,10 @@
213 type: ec2
214 access-key: YOUR-ACCESS-KEY-GOES-HERE
215 secret-key: YOUR-SECRET-KEY-GOES-HERE
216- control-bucket: juju-faefb490d69a41f0a3616a4808e0766b
217+ control-bucket: Juju-faefb490d69a41f0a3616a4808e0766b
218 admin-secret: 81a1e7429e6847c4941fda7591246594
219 default-series: precise
220- juju-origin: ppa
221+ Juju-origin: ppa
222 ssl-hostname-verification: true
223
224 The S3 bucket does not need to exist already.
225@@ -90,7 +90,7 @@
226
227 - Most local machines aren't configured to use LXC out of the box, this requires a reboot and for some network configurations a bit of manual set up. The network bridging that is necessary might not be ideal for some users.
228 - The first `juju bootstrap` will take a long time, as up to 300mb of Ubuntu server packages are downloaded. These are cached so subsequent deployments are very fast, but the initial set up might take longer.
229-- `juju debug-log` isn't as useful as tailing `$data-dir/machine-agent.log`
230+- `Juju debug-log` isn't as useful as tailing `$data-dir/machine-agent.log`
231 - Services that are running don't necessarily appear in netstat.
232
233
234@@ -119,7 +119,7 @@
235 control-bucket: juju-a14dfae3830142d9ac23c499395c2785999
236 admin-secret: 6608267bbd6b447b8c90934167b2a294999
237 default-series: precise
238- juju-origin: ppa
239+ Juju-origin: ppa
240 data-dir: /home/jorge/whatever
241
242 The ``data-dir`` is going to be where the containers and stuff will keep their data. As far as I can tell `control-bucket` and `admin-secret` can be whatever you want.
243@@ -134,7 +134,7 @@
244 juju deploy wordpress
245 juju add-relation wordpress mysql
246
247-When it's deployed juju should return something like this in status::
248+When it's deployed Juju should return something like this in status::
249
250 machines:
251 0:
252
253=== modified file 'source/marketing.html'
254--- source/marketing.html 2012-06-28 23:00:18 +0000
255+++ source/marketing.html 2012-08-15 08:56:19 +0000
256@@ -1,6 +1,6 @@
257 <div class="row-fluid">
258 <img alt="devops.png" class="attachment" src="_static/images/devops.png" title="devops.png" style="float:left;padding: 5px;" />
259-<strong>Juju is <em><a href="/DevOps">DevOps</a> Distilled</em></strong><small><sup>TM</sup></small>. Through the use of <a class="http" href="http://juju.ubuntu.com/Charms">charms</a>, juju provides you with shareable, re-usable, and repeatable expressions of <a href="/DevOps">DevOps</a> best practices. You can use them unmodified, or easily change and connect them to fit your needs. Deploying a <a class="http" href="http://juju.ubuntu.com/Charms">charm</a> is similar to installing a package on Ubuntu: ask for it and it’s there, remove it and it’s completely gone.
260+<strong>Juju is <em><a href="/DevOps">DevOps</a> Distilled</em></strong><small><sup>TM</sup></small>. Through the use of <a class="http" href="http://juju.ubuntu.com/Charms">charms</a>, Juju provides you with shareable, re-usable, and repeatable expressions of <a href="/DevOps">DevOps</a> best practices. You can use them unmodified, or easily change and connect them to fit your needs. Deploying a <a class="http" href="http://juju.ubuntu.com/Charms">charm</a> is similar to installing a package on Ubuntu: ask for it and it’s there, remove it and it’s completely gone.
261 </div>
262
263 <div class="row-fluid">
264@@ -9,7 +9,7 @@
265
266 <div class="row-fluid">
267 <img alt="community.png" class="attachment" src="_static/images/community.png" title="community.png" style="float:left;padding: 5px;" />
268-<strong>Juju is a community of <a href="/DevOps">DevOps</a> expertise.</strong> Most of the applications you want will be available in juju. Juju provides direct and free access to a <a href="/DevOps">DevOps</a> community-contributed collection of <a class="http" href="http://juju.ubuntu.com/Charms">charms</a>
269+<strong>Juju is a community of <a href="/DevOps">DevOps</a> expertise.</strong> Most of the applications you want will be available in Juju. Juju provides direct and free access to a <a href="/DevOps">DevOps</a> community-contributed collection of <a class="http" href="http://juju.ubuntu.com/Charms">charms</a>
270 </div>
271
272
273@@ -37,7 +37,7 @@
274
275 <div class="row-fluid">
276 <img alt="easy.png" class="attachment" src="_static/images/easy.png" title="easy.png" style="float:left;padding: 5px;" />
277-<strong>Juju is easy.</strong> There’s no need to learn a domain specific language (DSL) to use juju or create <a class="http" href="http://juju.ubuntu.com/Charms">charms</a>. You can be up and running with your own <a class="http" href="http://juju.ubuntu.com/Charms">charm</a> in minutes.
278+<strong>Juju is easy.</strong> There’s no need to learn a domain specific language (DSL) to use Juju or create <a class="http" href="http://juju.ubuntu.com/Charms">charms</a>. You can be up and running with your own <a class="http" href="http://juju.ubuntu.com/Charms">charm</a> in minutes.
279 </div>
280
281 <div class="row-fluid">
282
283=== modified file 'source/provider-configuration-local.rst'
284--- source/provider-configuration-local.rst 2012-01-30 14:49:36 +0000
285+++ source/provider-configuration-local.rst 2012-08-15 08:56:19 +0000
286@@ -2,7 +2,7 @@
287 ----------------------------
288
289 The local provider allows for deploying services directly against the local/host machine
290-using LXC containers with the goal of experimenting with juju and developing formulas.
291+using LXC containers with the goal of experimenting with Juju and developing formulas.
292
293 The local provider has some additional package dependencies. Attempts to use
294 this provider without these packages installed will terminate with a message

Subscribers

People subscribed via source and target branches