Merge lp:~gz/juju-core/update_config_openstack_1.18 into lp:juju-core/docs

Proposed by Martin Packman
Status: Rejected
Rejected by: Martin Packman
Proposed branch: lp:~gz/juju-core/update_config_openstack_1.18
Merge into: lp:juju-core/docs
Diff against target: 112 lines (+74/-23)
1 file modified
htmldocs/config-openstack.html (+74/-23)
To merge this branch: bzr merge lp:~gz/juju-core/update_config_openstack_1.18
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+215177@code.launchpad.net

Description of the change

Updates configuration guidelines for openstack to use the same text as found in juju-core 1.18 provider/openstack/provider.go `juju init` generation.

This includes some nicer formatting, and a couple of new fields, notably 'networks' for bug 1241674 and 'use-default-secgroup' for bug 1129720. Other providers also probably want updating.

To post a comment you must log in.
Revision history for this message
Nick Veitch (evilnick) wrote :

Hi!
Sorry, I didn't make it clear we do this on github now - https://github.com/juju/docs

It's okay though, I am merging your changes there.
FYI - we don't use 'juju init' in docs anymore!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'htmldocs/config-openstack.html'
2--- htmldocs/config-openstack.html 2013-12-16 14:54:13 +0000
3+++ htmldocs/config-openstack.html 2014-04-10 13:22:24 +0000
4@@ -80,28 +80,79 @@
5 <p>The essential configuration sections for OpenStack look like this:</p>
6 <pre class="prettyprint lang-yaml">
7 openstack:
8- type: openstack
9- # Specifies whether the use of a floating IP address is required to give the nodes
10- # a public IP address. Some installations assign public IP addresses by default without
11- # requiring a floating IP address.
12- # use-floating-ip: false
13- admin-secret: 13850d1b9786065cadd0f477e8c97cd3
14- # Globally unique swift bucket name
15- control-bucket: juju-fd6ab8d02393af742bfbe8b9629707ee
16- # Usually set via the env variable OS_AUTH_URL, but can be specified here
17- # auth-url: https://yourkeystoneurl:443/v2.0/
18- # override if your workstation is running a different series to which you are deploying
19- # default-series: precise
20- # The following are used for userpass authentication (the default)
21- auth-mode: userpass
22- # Usually set via the env variable OS_USERNAME, but can be specified here
23- # username: <your username>
24- # Usually set via the env variable OS_PASSWORD, but can be specified here
25- # password: <secret>
26- # Usually set via the env variable OS_TENANT_NAME, but can be specified here
27- # tenant-name: <your tenant name>
28- # Usually set via the env variable OS_REGION_NAME, but can be specified here
29- # region: <your region></pre>
30+ type: openstack
31+
32+ # use-floating-ip specifies whether a floating IP address is
33+ # required to give the nodes a public IP address. Some
34+ # installations assign public IP addresses by default without
35+ # requiring a floating IP address.
36+ #
37+ # use-floating-ip: false
38+
39+ # use-default-secgroup specifies whether new machine instances
40+ # should have the "default" Openstack security group assigned.
41+ #
42+ # use-default-secgroup: false
43+
44+ # network specifies the network label or uuid to bring machines up
45+ # on, in the case where multiple networks exist. It may be omitted
46+ # otherwise.
47+ #
48+ # network: &lt;your network label or uuid>
49+
50+ # tools-metadata-url specifies the location of the Juju tools and
51+ # metadata. It defaults to the global public tools metadata
52+ # location https://streams.canonical.com/tools.
53+ #
54+ # tools-metadata-url: https://your-tools-metadata-url
55+
56+ # image-metadata-url specifies the location of Ubuntu cloud image
57+ # metadata. It defaults to the global public image metadata
58+ # location https://cloud-images.ubuntu.com/releases.
59+ #
60+ # image-metadata-url: https://your-image-metadata-url
61+
62+ # image-stream chooses a simplestreams stream to select OS images
63+ # from, for example daily or released images (or any other stream
64+ # available on simplestreams).
65+ #
66+ # image-stream: "released"
67+
68+ # auth-url defaults to the value of the environment variable
69+ # OS_AUTH_URL, but can be specified here.
70+ #
71+ # auth-url: https://yourkeystoneurl:443/v2.0/
72+
73+ # tenant-name holds the openstack tenant name. It defaults to the
74+ # environment variable OS_TENANT_NAME.
75+ #
76+ # tenant-name: &lt;your tenant name>
77+
78+ # region holds the openstack region. It defaults to the
79+ # environment variable OS_REGION_NAME.
80+ #
81+ # region: &lt;your region>
82+
83+ # The auth-mode, username and password attributes are used for
84+ # userpass authentication (the default).
85+ #
86+ # auth-mode holds the authentication mode. For user-password
87+ # authentication, auth-mode should be "userpass" and username and
88+ # password should be set appropriately; they default to the
89+ # environment variables OS_USERNAME and OS_PASSWORD respectively.
90+ #
91+ # auth-mode: userpass
92+ # username: &lt;your username>
93+ # password: &lt;secret>
94+
95+ # For key-pair authentication, auth-mode should be "keypair" and
96+ # access-key and secret-key should be set appropriately; they
97+ # default to the environment variables OS_ACCESS_KEY and
98+ # OS_SECRET_KEY respectively.
99+ #
100+ # auth-mode: keypair
101+ # access-key: &lt;secret>
102+ # secret-key: &lt;secret></pre>
103
104 <p class="note"><strong>Note:</strong> At any time you can run <code>juju init --show</code> to display the most revent version of the environments.yaml template file, instead of having it write to file.</p>
105 <p>Remember to substitute in the parts of the snippet that are important to you. If you are deploying on OpenStack the following documentation might also be useful:</p>
106@@ -204,4 +255,4 @@
107
108
109
110-</body></html>
111\ No newline at end of file
112+</body></html>

Subscribers

People subscribed via source and target branches