diff options
author | Ben Nemec <bnemec@redhat.com> | 2016-05-31 11:47:10 -0500 |
---|---|---|
committer | Ben Nemec <bnemec@redhat.com> | 2017-06-12 15:02:50 -0500 |
commit | f503d1b0e7fb9fe77e6fd1e71e08ca2d43427578 (patch) | |
tree | 124943345293b00d8225b7078176aa1be2703664 /sample-env-generator/predictable-placement.yaml | |
parent | 4e24c8cb6a1f65b1e5c764febfe96c2c465cfed1 (diff) |
Support config dir for env generator input files
We're not going to want to list every single sample environment in
a single file, so let's also take a directory and just read every
yaml file in it. This commit adds support for that as well as
some initial environments to demonstrate its use.
Change-Id: If2c608f2a61fc5e16784ab594d23f1fa335e1d3c
Diffstat (limited to 'sample-env-generator/predictable-placement.yaml')
-rw-r--r-- | sample-env-generator/predictable-placement.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sample-env-generator/predictable-placement.yaml b/sample-env-generator/predictable-placement.yaml new file mode 100644 index 00000000..ffda7aca --- /dev/null +++ b/sample-env-generator/predictable-placement.yaml @@ -0,0 +1,17 @@ +environments: + - + name: predictable-placement/custom-hostnames + title: Custom Hostnames + files: + overcloud.yaml: + parameters: + - ControllerHostnameFormat + - ComputeHostnameFormat + - BlockStorageHostnameFormat + - ObjectStorageHostnameFormat + - CephStorageHostnameFormat + description: | + Hostname format for each role + Note %index% is translated into the index of the node, e.g 0/1/2 etc + and %stackname% is replaced with OS::stack_name in the template below. + If you want to use the heat generated names, pass '' (empty string). |