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
=== modified file 'source/faq.rst'
--- source/faq.rst 2012-04-04 13:58:46 +0000
+++ source/faq.rst 2012-04-07 20:04:17 +0000
@@ -35,45 +35,56 @@
35 No, juju uses a plain Ubuntu image. All needed components are installed35 No, juju uses a plain Ubuntu image. All needed components are installed
36 at run-time. Then the juju charm is sent to the machine and hooks start36 at run-time. Then the juju charm is sent to the machine and hooks start
37 getting executed in response to events. If you need a custom AMI you can37 getting executed in response to events. If you need a custom AMI you can
38specify it in the environments.yaml file. 38 specify it in the environments.yaml file.
3939
40Is it possible to deploy multiple services per machine?40Is it possible to deploy multiple services per machine?
4141
42 Currently each service unit is deployed to a separate machine that can relate42 Currently each service unit is deployed to a separate machine that can relate
43to other services running on different nodes. This was done to get juju into a43 to other services running on different nodes. This was done to get juju into a
44working state faster. juju will definitely support multiple services per44 working state faster. juju will definitely support multiple services per
45machine in the future45 machine in the future
4646
47Is it possible to pass parameters to juju charms?47Is it possible to pass parameters to juju charms?
4848
49 Tunables are landing very soon in juju. Once ready you will be able to use49 Tunables are landing very soon in juju. Once ready you will be able to use
50"juju set service key=value" and respond to that from within the juju charm.50 "juju set service key=value" and respond to that from within the juju charm.
51This will enable dynamic features to be added to charms51 This will enable dynamic features to be added to charms
5252
53Does juju only deploy to the Amazon EC2 cloud?53Does juju only deploy to the Amazon EC2 cloud?
5454
55 No. juju can deploy to EC2, OpenStack, and bare metal via LXC containers or
56Orchestra. When using LXC you are able to run juju charms on a single local
57machine. This is the recommended method for prototyping charms as it's quicker
58to iterate locally and then deploy on the cloud when you're ready to test.
59Also integration work with the `Orchestra <https://launchpad.net/orchestra>`_
60project is underway to enable deployment to hardware machines.
6155
56 No. juju can deploy to EC2, OpenStack, and bare metal (`MAAS
57 <https://wiki.ubuntu.com/ServerTeam/MAAS/Juju>`_) via LXC containers or
58 Orchestra .
59 When using LXC you are able to run juju charms on a single local machine.
60 This is the recommended method for prototyping charms as it's quicker to
61 iterate locally and then deploy on the cloud when you're ready to test.
6262
6363
64What directory are hooks executed in?64What directory are hooks executed in?
6565
66 Hooks are executed in the charm directory (the parent directory to the hook66 Hooks are executed in the charm directory (the parent directory to the hook
67directory). This is primarily to encourage putting additional resources that a67 directory). This is primarily to encourage putting additional resources that
68hook may use outside of the hooks directory which is the public interface of68 a hook may use outside of the hooks directory which is the public interface
69the charm.69 of the charm.
7070
71How are charms licensed?71How are charms licensed?
7272
73 Charms are effectively data inputs to juju, and are therefore73 Charms are effectively data inputs to juju, and are therefore
74licensed/copyrighted by the author as an independent work. You are free to74 licensed/copyrighted by the author as an independent work. You are free to
75claim copyright solely for yourself if it's an independent work, and to license75 claim copyright solely for yourself if it's an independent work, and to
76it as you see fit. If you as the charm author are performing the work as a76 license it as you see fit. If you as the charm author are performing the work
77result of a fiduciary agreement, the terms of such agreement come into play and77 as a result of a fiduciary agreement, the terms of such agreement come into
78so the licensing choice is up to the hiring entity.78 play and so the licensing choice is up to the hiring entity.
79
80How can I choose between environments?
81
82 You can have as many environments as you want in ``environments.yaml`` and
83 set one as the default either by specifying
84
85 ``default: default-env-name``
86
87 or via a ``JUJU_ENV`` environment variable. Last but not least the ``juju``
88 subcommands accept an ``-e`` parameter that can be used to specify the name
89 of the desired environment.
7990
80How can I contact the juju team?91How can I contact the juju team?
8192

Subscribers

People subscribed via source and target branches