summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-noha
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-12-23 16:45:43 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-12-23 17:16:50 +0100
commit7e7c4ae4ddd5d2016defcdcdedaabb28e2f931f7 (patch)
treea7e285502867df2719389936a81c093369667e01 /mcp/reclass/classes/cluster/mcp-common-noha
parentaf47291cd0809291aaafac0adacc48ac0f5a55f1 (diff)
[armband] Parameterize aarch64 specific repo comp
Factor out armband repository component name based on openstack_version parameter. However, since 'rocky-armband' repo is not available yet, reuse the 'queens-armband' on. Change-Id: Ibd17808059542ace14724776f8686fc2afd9de6a 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/openstack_init.yml.j25
1 files changed, 3 insertions, 2 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2
index 02b6e9ea5..8147b8c47 100644
--- a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2
@@ -32,6 +32,7 @@ parameters:
cluster_node02_address: ${_param:opnfv_openstack_control_node02_address}
cluster_node03_hostname: ctl03
cluster_node03_address: ${_param:opnfv_openstack_control_node03_address}
+ armband_repo_version: 'queens' # ${_param:openstack_version}
glance_version: ${_param:openstack_version}
glance_service_host: ${_param:cluster_local_address}
keystone_version: ${_param:openstack_version}
@@ -84,10 +85,10 @@ parameters:
{%- if 'aarch64' in nm.cluster.arch %}
repo:
armband_3: # Should be in sync with the repo config generated via curtin/MaaS
- source: "deb http://linux.enea.com/mcp-repos/${_param:openstack_version}/${_param:linux_system_codename} ${_param:openstack_version}-armband main"
+ source: "deb http://linux.enea.com/mcp-repos/${_param:armband_repo_version}/${_param:linux_system_codename} ${_param:armband_repo_version}-armband main"
key: ${_param:armband_key}
pin:
- - pin: 'release a=${_param:openstack_version}-armband'
+ - pin: 'release a=${_param:armband_repo_version}-armband'
priority: 1201
package: '*'
{%- endif %}