Merge lp:~al-maisan/pyjuju/env-faq into lp:~juju/pyjuju/docs

Proposed by Muharem Hrnjadovic
Status: Merged
Approved by: Kapil Thangavelu
Approved revision: 11
Merge reported by: Mark Mims
Merged at revision: not available
Proposed branch: lp:~al-maisan/pyjuju/env-faq
Merge into: lp:~juju/pyjuju/docs
Diff against target: 79 lines (+31/-20)
1 file modified
source/faq.rst (+31/-20)
To merge this branch: bzr merge lp:~al-maisan/pyjuju/env-faq
Reviewer Review Type Date Requested Status
Kapil Thangavelu (community) Approve
Review via email: mp+101178@code.launchpad.net

Commit message

fix the indentation for some of the FAQs and adds a new FAQ about choosing between environments

Description of the change

This fixes the indentation for some of the FAQs and adds a new FAQ about choosing between environments.

To post a comment you must log in.
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

lgtm, quick notes orchestra and maas are implemented.

``juju``
76 + command accepts an ``-e`` parameter that can be used to specify the name of
77 + the desired environment.

its the subcommands that accept the -e

review: Approve
lp:~al-maisan/pyjuju/env-faq updated
12. By Muharem Hrnjadovic

Kapil's review comments

Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

I have revised the FAQs in question in accordance with Kapil's review comments.

lp:~al-maisan/pyjuju/env-faq updated
13. By Muharem Hrnjadovic

minor fix

Revision history for this message
Mark Mims (mark-mims) wrote :

this was already merged at bzr11

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'source/faq.rst'
2--- source/faq.rst 2012-04-04 13:58:46 +0000
3+++ source/faq.rst 2012-04-07 20:04:17 +0000
4@@ -35,45 +35,56 @@
5 No, juju uses a plain Ubuntu image. All needed components are installed
6 at run-time. Then the juju charm is sent to the machine and hooks start
7 getting executed in response to events. If you need a custom AMI you can
8-specify it in the environments.yaml file.
9+ specify it in the environments.yaml file.
10
11 Is it possible to deploy multiple services per machine?
12
13 Currently each service unit is deployed to a separate machine that can relate
14-to other services running on different nodes. This was done to get juju into a
15-working state faster. juju will definitely support multiple services per
16-machine in the future
17+ to other services running on different nodes. This was done to get juju into a
18+ working state faster. juju will definitely support multiple services per
19+ machine in the future
20
21 Is it possible to pass parameters to juju charms?
22
23 Tunables are landing very soon in juju. Once ready you will be able to use
24-"juju set service key=value" and respond to that from within the juju charm.
25-This will enable dynamic features to be added to charms
26+ "juju set service key=value" and respond to that from within the juju charm.
27+ This will enable dynamic features to be added to charms
28
29 Does juju only deploy to the Amazon EC2 cloud?
30
31- No. juju can deploy to EC2, OpenStack, and bare metal via LXC containers or
32-Orchestra. When using LXC you are able to run juju charms on a single local
33-machine. This is the recommended method for prototyping charms as it's quicker
34-to iterate locally and then deploy on the cloud when you're ready to test.
35-Also integration work with the `Orchestra <https://launchpad.net/orchestra>`_
36-project is underway to enable deployment to hardware machines.
37
38+ No. juju can deploy to EC2, OpenStack, and bare metal (`MAAS
39+ <https://wiki.ubuntu.com/ServerTeam/MAAS/Juju>`_) via LXC containers or
40+ Orchestra .
41+ When using LXC you are able to run juju charms on a single local machine.
42+ This is the recommended method for prototyping charms as it's quicker to
43+ iterate locally and then deploy on the cloud when you're ready to test.
44
45
46 What directory are hooks executed in?
47
48 Hooks are executed in the charm directory (the parent directory to the hook
49-directory). This is primarily to encourage putting additional resources that a
50-hook may use outside of the hooks directory which is the public interface of
51-the charm.
52+ directory). This is primarily to encourage putting additional resources that
53+ a hook may use outside of the hooks directory which is the public interface
54+ of the charm.
55
56 How are charms licensed?
57
58 Charms are effectively data inputs to juju, and are therefore
59-licensed/copyrighted by the author as an independent work. You are free to
60-claim copyright solely for yourself if it's an independent work, and to license
61-it as you see fit. If you as the charm author are performing the work as a
62-result of a fiduciary agreement, the terms of such agreement come into play and
63-so the licensing choice is up to the hiring entity.
64+ licensed/copyrighted by the author as an independent work. You are free to
65+ claim copyright solely for yourself if it's an independent work, and to
66+ license it as you see fit. If you as the charm author are performing the work
67+ as a result of a fiduciary agreement, the terms of such agreement come into
68+ play and so the licensing choice is up to the hiring entity.
69+
70+How can I choose between environments?
71+
72+ You can have as many environments as you want in ``environments.yaml`` and
73+ set one as the default either by specifying
74+
75+ ``default: default-env-name``
76+
77+ or via a ``JUJU_ENV`` environment variable. Last but not least the ``juju``
78+ subcommands accept an ``-e`` parameter that can be used to specify the name
79+ of the desired environment.
80
81 How can I contact the juju team?
82

Subscribers

People subscribed via source and target branches