aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-noha
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-25 20:16:23 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-26 13:59:34 +0200
commita20ca2d8aaf550e1a1766768a2f4403a795d9e12 (patch)
tree3e32c9246959002d454c4cdecd3ca37952cc55c3 /mcp/reclass/classes/cluster/mcp-common-noha
parentc0de0902fdb9c15033ae830b31bfcade8eb1c3ec (diff)
[reclass] Ensure pxe_admin_address is set for all
Some nodes did not rely on the _param:pxe_admin_address internal reclass param, although all of them do have an IP address in the PXE/admin network segment. Ensure all nodes define this param, so we can query all nodes with: $ salt '*' pillar.item _param:pxe_admin_address JIRA: FUEL-394 Change-Id: I7575934752c8b459c52af8a8c98c2b0327756428 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-common-noha')
-rw-r--r--mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2
index a6bf5cda4..314cde78e 100644
--- a/mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2
@@ -13,6 +13,7 @@ classes:
parameters:
_param:
openstack_control_node01_hostname: ctl01
+ pxe_admin_address: ${_param:reclass_config_master}
single_address: ${_param:opnfv_infra_config_address}
salt_master_host: 127.0.0.1
salt_minion_ca_host: ${linux:network:fqdn}