Merge lp:~jorge/juju-core/lxc-deploy-examples into lp:juju-core/docs

Proposed by Jorge Castro
Status: Merged
Merged at revision: 194
Proposed branch: lp:~jorge/juju-core/lxc-deploy-examples
Merge into: lp:juju-core/docs
Diff against target: 71 lines (+14/-5)
1 file modified
htmldocs/charms-deploying.html (+14/-5)
To merge this branch: bzr merge lp:~jorge/juju-core/lxc-deploy-examples
Reviewer Review Type Date Requested Status
Nick Veitch (community) Needs Information
Review via email: mp+194223@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Nick Veitch (evilnick) wrote :

This branch reintroduces the section about changing the default environment. AFAIK that feature still isn't implemented, unless you know better?

review: Needs Information
Revision history for this message
Jorge Castro (jorge) wrote :

Yep it works, it's also in the client documentation, it just wasn't synced with the online docs.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'htmldocs/charms-deploying.html'
--- htmldocs/charms-deploying.html 2013-10-31 13:35:14 +0000
+++ htmldocs/charms-deploying.html 2013-11-06 20:29:28 +0000
@@ -107,7 +107,7 @@
107 <pre class="prettyprint">juju deploy cs:precise/mysql</pre>107 <pre class="prettyprint">juju deploy cs:precise/mysql</pre>
108108
109 <p>which follows the format:</p>109 <p>which follows the format:</p>
110 <pre class="prettyprint">&LT;repository&GT;:&LT;series&GT;&LT;service&GT;</pre>110 <pre class="prettyprint">&LT;repository&GT;:&LT;series&GT;/&LT;service&GT;</pre>
111111
112 <h1 id="local">Deploying from a local repository</h1>112 <h1 id="local">Deploying from a local repository</h1>
113113
@@ -148,7 +148,7 @@
148 fetching it from the charm store. If you wish to check148 fetching it from the charm store. If you wish to check
149 where a charm was installed from, it is listed in the149 where a charm was installed from, it is listed in the
150 <code>juju status</code> output.</p>150 <code>juju status</code> output.</p>
151<!--- NOT IMPLEMENTED https://bugs.launchpad.net/pyjuju/+bug/906008151
152 <h1>Changing the defaults</h1>152 <h1>Changing the defaults</h1>
153153
154 <p>As we have seen, we can specify repositories to154 <p>As we have seen, we can specify repositories to
@@ -165,7 +165,7 @@
165 - http://charms.ubuntu.com/collection/openstack165 - http://charms.ubuntu.com/collection/openstack
166 - http://charms.ubuntu.com/people/miked166 - http://charms.ubuntu.com/people/miked
167 - /var/lib/charms</pre>167 - /var/lib/charms</pre>
168--->168
169 <h1>A note about caching...</h1>169 <h1>A note about caching...</h1>
170170
171 <p>After juju resolves a charm and its dependencies, it171 <p>After juju resolves a charm and its dependencies, it
@@ -177,7 +177,7 @@
177 </section>177 </section>
178178
179 <section id="deploying-to-machines">179 <section id="deploying-to-machines">
180 <h1>Deploying to specific machines</h1>180 <h1>Deploying to specific machines and containers</h1>
181181
182 <p>Juju has native support for specifying which machine182 <p>Juju has native support for specifying which machine
183 a charm should be deployed to. This is useful for a few183 a charm should be deployed to. This is useful for a few
@@ -198,6 +198,14 @@
198 <p>As you can see from the example we've deployed mysql198 <p>As you can see from the example we've deployed mysql
199 and rabbitmq-server "to" node 0.</p>199 and rabbitmq-server "to" node 0.</p>
200200
201 <p>You can also deploy to containers:</p>
202 <pre class="prettyprint">
203juju deploy mysql --to 24/lxc/3
204juju deploy mysql --to lxc:25
205</pre>
206
207 <p>In the previous example we deployed MySQL to container #3 on machine #25. Similarly the 2nd example deploys MySQL to a new container on machine #25.</p>
208
201 <p>Note that you need to know the identifier of the209 <p>Note that you need to know the identifier of the
202 machine that you are going to <code>deploy --to</code> – in all210 machine that you are going to <code>deploy --to</code> – in all
203 deployments, machine 0 is always the bootstrap node so211 deployments, machine 0 is always the bootstrap node so
@@ -287,7 +295,7 @@
287 <h2>Considerations</h2>295 <h2>Considerations</h2>
288296
289 <p>Charms are running without any separation, so its297 <p>Charms are running without any separation, so its
290 entirely possible for Charms to stamp all over each298 entirely possible for Charms to stomp all over each
291 others configuration files and try to bind to the same299 others configuration files and try to bind to the same
292 network ports. We are working to containerize300 network ports. We are working to containerize
293 everything so that this does not happen and every301 everything so that this does not happen and every
@@ -307,6 +315,7 @@
307 dedicated machines when you need to.</p>315 dedicated machines when you need to.</p>
308 </section>316 </section>
309 <section id="references">317 <section id="references">
318
310 <h2>References and Examples</h2>319 <h2>References and Examples</h2>
311320
312 <ul>321 <ul>

Subscribers

People subscribed via source and target branches