Skip to content

Commit c06f4f4

Browse files
authored
Merge pull request #2586 from stackhpc/stackhpc-mixin-fixes
Documentation fixes for StackHPC Mixin Environments
2 parents 59abd72 + b0b3233 commit c06f4f4

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

doc/source/configuration/stackhpc-mixin-environments.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@
44
StackHPC Mixin Environments
55
===========================
66

7-
StackHPC Kayobe configuration provides a set of mixin environments, which can
8-
be used to apply configuration in modular way. These provide a mechanism where
9-
users can opt into new sets of configuration mid-cycle, at a time of the their
10-
choosing, and thereby facilitate gradual adoption of new features. Config may
11-
be moved into the the base configuration for the next major release.
7+
The StackHPC Kayobe configuration uses mixin environments for modular
8+
configuration. Users can opt into these mid-cycle to gradually adopt new
9+
features. Mixin environments may be merged into the base configuration in later
10+
major releases.
1211

1312
For more information about Kayobe environments, please see the `upstream Kayobe
1413
documentation
1514
<https://docs.openstack.org/kayobe/latest/multiple-environments.html#defining-kayobe-environments>`__.
1615

1716
.. note::
1817

19-
To override settings in mixin environments, you will need to define the
18+
To override settings in mixin environments, you will need to define
2019
overrides in an environment that inherits from that one, rather than in the
2120
base configuration.
2221

etc/kayobe/environments/baremetal-policy/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Consuming this environment
1818
Add the ``baremetal-policy`` environment to your ``.kayobe-environment`` file:
1919

2020
.. code-block:: yaml
21-
:caption: $KAYOBE_CONFIG_PATH/$KAYOBE_ENVIRONMENT/.kayobe-environment
21+
:caption: $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/.kayobe-environment
2222
2323
dependencies:
2424
- baremetal-policy

etc/kayobe/environments/baremetal/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Consuming this environment
99
Add the ``baremetal`` environment to your ``.kayobe-environment`` file:
1010

1111
.. code-block:: yaml
12-
:caption: $KAYOBE_CONFIG_PATH/$KAYOBE_ENVIRONMENT/.kayobe-environment
12+
:caption: $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/.kayobe-environment
1313
1414
dependencies:
1515
- baremetal
@@ -38,7 +38,7 @@ this setting if this is a risk you want to take. This can be customised by
3838
editing the following variables:
3939

4040
.. code-block:: yaml
41-
:caption: $KAYOBE_CONFIG_PATH/$KAYOBE_ENVIRONMENT/kolla/config/ironic/ironic-conductor.conf
41+
:caption: $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/kolla/config/ironic/ironic-conductor.conf
4242
4343
[deploy]
4444
erase_devices_priority=10

0 commit comments

Comments
 (0)