Merge "Added infra_config_hostname soft param to missing virtual labs"
diff --git a/classes/cluster/virtual-mcp05-dvr/infra/init.yml b/classes/cluster/virtual-mcp05-dvr/infra/init.yml
index 9140bd0..b01723d 100644
--- a/classes/cluster/virtual-mcp05-dvr/infra/init.yml
+++ b/classes/cluster/virtual-mcp05-dvr/infra/init.yml
@@ -5,8 +5,8 @@
cfg01:
address: ${_param:infra_config_address}
names:
- - cfg01
- - cfg01.${_param:cluster_domain}
+ - ${_param:infra_config_hostname}
+ - ${_param:infra_config_hostname}.${_param:cluster_domain}
cfg:
address: ${_param:infra_config_address}
names:
diff --git a/classes/cluster/virtual-mcp05-dvr/init.yml b/classes/cluster/virtual-mcp05-dvr/init.yml
index 1af77a3..1fdd09c 100644
--- a/classes/cluster/virtual-mcp05-dvr/init.yml
+++ b/classes/cluster/virtual-mcp05-dvr/init.yml
@@ -14,6 +14,7 @@
cluster_domain: virtual-mcp05-dvr.local
cluster_name: virtual-mcp05-dvr
# infra service addresses
+ infra_config_hostname: cfg01
infra_config_address: 172.16.10.100
# openstack service addresses
openstack_database_address: 172.16.10.254
@@ -39,4 +40,4 @@
stacklight_monitor_node02_address: 172.16.10.108
stacklight_monitor_node03_address: 172.16.10.109
stacklight_telemetry_address: ${_param:stacklight_monitor_address}
- stacklight_log_address: ${_param:stacklight_monitor_address}
\ No newline at end of file
+ stacklight_log_address: ${_param:stacklight_monitor_address}