aboutsummaryrefslogtreecommitdiffstats
path: root/environments/split-stack-consistent-hostname-format.j2.yaml
diff options
context:
space:
mode:
authorJames Slagle <jslagle@redhat.com>2017-07-24 14:39:23 -0400
committerJames Slagle <jslagle@redhat.com>2017-07-24 14:42:28 -0400
commit59e31ad1f5528ce5cf1f5fbb022eaf89913efb12 (patch)
tree2eef1097f6ca096cf9d4891633796e9826a6f480 /environments/split-stack-consistent-hostname-format.j2.yaml
parent6f9f76748c93d88b0f72488a4b841401df3f54b7 (diff)
Consistent hostname format env for split-stack
Adds a new environment split-stack-consistent-hostname-format.j2.yaml for use with split-stack that will set the {{role.name}}HostnameFormat parameters based on the actual roles in use. It's possible to generate these parameters and values as long as the roles files is the same between the 2 stacks, which will be documented in I9997bd685f8f79537dfc377f9f1eb0c7446c3289. Removes the hardcoded paramters from the other 2 split-stack environments. Change-Id: I93bc7c1a24a9cb2f9930372970c67c0eadb14add
Diffstat (limited to 'environments/split-stack-consistent-hostname-format.j2.yaml')
-rw-r--r--environments/split-stack-consistent-hostname-format.j2.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/environments/split-stack-consistent-hostname-format.j2.yaml b/environments/split-stack-consistent-hostname-format.j2.yaml
new file mode 100644
index 0000000..8345c10
--- /dev/null
+++ b/environments/split-stack-consistent-hostname-format.j2.yaml
@@ -0,0 +1,5 @@
+parameter_defaults:
+ # Consistent Hostname format
+{% for role in roles %}
+ {{role.name}}HostnameFormat: overcloud-{{role.name.lower()}}-%index%
+{% endfor %}