summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-03 00:39:05 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-04 14:35:01 +0100
commit3a86be3361346a698f755f4ebdb9c1a55bea7094 (patch)
tree27f4017a848a78f3d2e100bd7f3459d918bdd200 /mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra
parentfda7372a1bffe11fc7a199ad3d4344c1b9e57e57 (diff)
virtual: Add infra/init.yml for each scenario
Align our reclass model for virtual PODs with baremetal, by adding an infra init file for each scenario, setting up cluster_name via scenario infra init instead of scenario init. While at it, reduce redundancy by defining cluster_domain based on cluster_name via common infra init. JIRA: FUEL-310 Change-Id: I5e89c883853fa66cb1c1fc69ce5766ee136ac477 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
index 2385411b4..9ae8d1097 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
@@ -7,6 +7,8 @@
##############################################################################
---
parameters:
+ _param:
+ cluster_domain: ${_param:cluster_name}.local
linux:
network:
host: