Merge lp:~roadmr/juju-core/docs-typo-fixes into lp:juju-core/docs

Proposed by Daniel Manrique
Status: Merged
Approved by: Nick Veitch
Approved revision: no longer in the source branch.
Merged at revision: 224
Proposed branch: lp:~roadmr/juju-core/docs-typo-fixes
Merge into: lp:juju-core/docs
Diff against target: 134 lines (+13/-13)
5 files modified
htmldocs/charms-destroy.html (+3/-3)
htmldocs/charms-environments.html (+1/-1)
htmldocs/charms-service-groups.html (+2/-2)
htmldocs/howto-rails.html (+5/-5)
htmldocs/troubleshooting-local.html (+2/-2)
To merge this branch: bzr merge lp:~roadmr/juju-core/docs-typo-fixes
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+202917@code.launchpad.net

Commit message

Some typo/grammar fixes in 'user guide' sections

Description of the change

Some typo/grammar fixes in 'user guide' sections.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'htmldocs/charms-destroy.html'
2--- htmldocs/charms-destroy.html 2013-12-16 14:54:13 +0000
3+++ htmldocs/charms-destroy.html 2014-01-23 18:58:50 +0000
4@@ -79,7 +79,7 @@
5 <pre class="prettyprint">juju destroy-service &LT;service-name&GT;</pre>
6 <p class="warning note"><strong>Warning!:</strong> Destroying a service which has active relations with another running service will break that relation. This can cause errors in both services, as such review and potentially remove any relationships first.</p>
7 <p>A service can take a while to "die", but if running a juju status reveals that the service is listed as dying, but also reports an error state, then the zombied service will still be hanging around. See <a href="#caveat-dying">caveats</a> for how to manage services in a dying state.</p>
8- <p class="note"><strong>Note:</strong> Destroying a service removes that service, but not any nodes which may have been created for it to run on. This is juju's way of preserving data to the best it's ability. See <a href="#destroy-machines">Destroying Machines</a> for additional details.</p>
9+ <p class="note"><strong>Note:</strong> Destroying a service removes that service, but not any nodes which may have been created for it to run on. This is juju's way of preserving data to the best of its ability. See <a href="#destroy-machines">Destroying Machines</a> for additional details.</p>
10 </section>
11 <section id="destroy-units">
12 <h2 id="destroy-units">Destroying Units</h2>
13@@ -96,7 +96,7 @@
14 <h2 id="destroy-machines">Destroying machines</h2>
15 <p>Instances or machines which have no currently assigned workload can be removed from your cloud using the following command:
16 <pre class="prettyprint">juju destroy-machine &LT;number&GT;</pre>
17- <p>A machine which currently idle will be removed almost instantaneously from the cloud, along with anything else which may have been on the instance which juju was not aware of. To prevent accidents and awkward moments with running services, it is not possible to remove an instance which is currently allocated to a service. If you try to do so, you will get a polite error message in the form:</p>
18+ <p>A machine which is currently idle will be removed almost instantaneously from the cloud, along with anything else which may have been on the instance which juju was not aware of. To prevent accidents and awkward moments with running services, it is not possible to remove an instance which is currently allocated to a service. If you try to do so, you will get a polite error message in the form:</p>
19 <pre class="prettyprint lang-yaml">error: no machines were destroyed: machine 3 has unit "mysql/0" assigned</pre>
20 </section>
21 <section>
22@@ -115,7 +115,7 @@
23 <h2 id="caveats">Caveats</h2>
24 <p>These are caveats which you may encounter while trying to remove items within Juju<p>
25 <h3 id="caveat-dying">life: dying</h3>
26- <p>If you have a unit or serving in a dying state that has not gone away check to see if that unit, or any units within the service, are in an error state. Since Juju is an event driven orchestration client, the "removal" of a unit and service is also modeled as an event within Juju. As such, when a unit enters an error state all other events within that unit's lifecycle are queued. To clear this run <pre class="prettyprint lang-yaml">juju resolved &lt;unit&gt;</pre> to have the next even processed. You may need to run the <code>resolved</code> command run several times against a unit.</p>
27+ <p>If you have a unit or serving in a dying state that has not gone away check to see if that unit, or any units within the service, are in an error state. Since Juju is an event driven orchestration client, the "removal" of a unit and service is also modeled as an event within Juju. As such, when a unit enters an error state all other events within that unit's lifecycle are queued. To clear this run <pre class="prettyprint lang-yaml">juju resolved &lt;unit&gt;</pre> to have the next event processed. You may need to run the <code>resolved</code> command run several times against a unit.</p>
28 <p>If the unit isn't in an error state, there may be an error elsewhere in the environment. Since removing a unit or destroying a service also breaks the relation, if there's an error in the relation-removal event on one or more of the connected services that may also halt the event loop for that unit. Check to make sure no other units are in an error state and clear those using the <code>juju resolved</code> command.</p>
29 </article>
30 <!--Postamble-->
31
32=== modified file 'htmldocs/charms-environments.html'
33--- htmldocs/charms-environments.html 2013-12-16 14:54:13 +0000
34+++ htmldocs/charms-environments.html 2014-01-23 18:58:50 +0000
35@@ -112,7 +112,7 @@
36 juju bootstrap
37 </pre>
38 <p>... will bootstrap the environment defined by the 'hpcloud' label</p>
39- <p>This command will return with an error message if <code>JUJU_ENV</code>is set (as this takes precedence)</p>
40+ <p>This command will return with an error message if <code>JUJU_ENV</code>is set (as this takes precedence).</p>
41 <p class="note"><strong>Note: </strong>The environment selected with <code>switch</code> is persistent. Even if you log out, switch your computer off, travel into space or sail around the world, when you start using Juju again, it will still point at the last environment you specified with <code>switch</code>.</p>
42
43
44
45=== modified file 'htmldocs/charms-service-groups.html'
46--- htmldocs/charms-service-groups.html 2013-12-16 14:54:13 +0000
47+++ htmldocs/charms-service-groups.html 2014-01-23 18:58:50 +0000
48@@ -101,7 +101,7 @@
49 </p>
50
51 <p>
52- Why specify names for services? The simplest reason is organizational... it let's you stay organized as your infrastructure gets more complex:
53+ Why specify names for services? The simplest reason is organizational... it lets you stay organized as your infrastructure gets more complex:
54 </p>
55
56 <pre class="prettyprint">
57@@ -292,4 +292,4 @@
58
59
60
61-</body></html>
62\ No newline at end of file
63+</body></html>
64
65=== modified file 'htmldocs/howto-rails.html'
66--- htmldocs/howto-rails.html 2013-12-16 14:54:13 +0000
67+++ htmldocs/howto-rails.html 2014-01-23 18:58:50 +0000
68@@ -91,7 +91,7 @@
69 Basic Usage of the Ruby on Rails Charm
70 </h2>
71 <p>
72- Create a YAML config file with your application's name and it's git location
73+ Create a YAML config file with your application's name and its git location
74 </p>
75 <p>
76 <strong>sample-app.yml</strong>
77@@ -109,7 +109,7 @@
78 juju add-relation haproxy myapp
79 </pre>
80 <p>
81- Deploy and relate database
82+ Deploy and relate database:
83 </p>
84 <pre class="prettyprint lang-bash">
85 juju deploy postgresql
86@@ -177,7 +177,7 @@
87 juju bootstrap
88 </pre>
89 <p>
90- Create a YAML config file with your application's name and it's git location
91+ Create a YAML config file with your application's name and its git location
92 </p>
93 <p>
94 <strong>sample-app.yml</strong>
95@@ -191,7 +191,7 @@
96 <pre class="prettyprint lang-bash">juju deploy rails myapp --config sample-app.yml
97 juju deploy postgresql</pre>
98 <p>
99- and relate them
100+ and relate them:
101 </p>
102 <pre class="prettyprint lang-bash">juju add-relation myapp postgresql
103 </pre>
104@@ -216,7 +216,7 @@
105 Push to your Public/Private Cloud
106 </h3>
107 <p>
108- After you've repeatedly upgraded your application locally it's time to push it out to a place where your coworkers can see your app in all it's glory, let's push this to AWS. Same exact commands as before, just to a different environment:
109+ After you've repeatedly upgraded your application locally it's time to push it out to a place where your coworkers can see your app in all its glory, let's push this to AWS. Same exact commands as before, just to a different environment:
110 </p>
111 <pre class="prettyprint lang-bash">juju switch amazon
112 juju bootstrap
113
114=== modified file 'htmldocs/troubleshooting-local.html'
115--- htmldocs/troubleshooting-local.html 2013-12-16 14:54:13 +0000
116+++ htmldocs/troubleshooting-local.html 2014-01-23 18:58:50 +0000
117@@ -79,7 +79,7 @@
118 <section id="bootstrap_fails">
119 <h2>Bootstrap fails</h2>
120
121- <p>Everytime bootstrap fails, you'll need to run <code>sudo juju destroy-environment</code> prior to continuing. First let's rerun a bootstrap in debug mode:</p>
122+ <p>Every time bootstrap fails, you'll need to run <code>sudo juju destroy-environment</code> prior to continuing. First let's rerun a bootstrap in debug mode:</p>
123
124 <pre class="prettyprint lang-bash">
125 sudo juju boostrap --show-log --debug
126@@ -115,7 +115,7 @@
127 <section id="no_machines_start">
128 <h2>No machines start</h2>
129
130- <p>If you get a successful bootstrap, but services you deploy never come up, there's a chance that you have an older version of the Ubuntu Cloud Image cached on you machine. To verify this, check the timestamp of the contents in <code>/var/cache/lxc/cloud-precise/</code>
131+ <p>If you get a successful bootstrap, but services you deploy never come up, there's a chance that you have an older version of the Ubuntu Cloud Image cached on your machine. To verify this, check the timestamp of the contents in <code>/var/cache/lxc/cloud-precise/</code>
132
133 <pre class="prettyprint lang-bash">
134 ls -lh /var/cache/lxc/cloud-precise/

Subscribers

People subscribed via source and target branches