[MaaS] Arch-qualify Saltstack repo for Xenial 21/60121/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 23 Jul 2018 15:12:45 +0000 (17:12 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 23 Jul 2018 15:12:45 +0000 (17:12 +0200)
Previous changes altering Saltstack repo URL did not add an
arch qulification, leading to APT trying to fetch the repo metadata
for the current system architecture, failing on arm64 systems.

Change-Id: Ibe32d90a8da2e04563ac9170939de92a4db233fd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/mcp-common-ha/infra/maas.yml.j2

index 29b12ab..ae59316 100644 (file)
@@ -147,7 +147,7 @@ parameters:
         network_discovery: 'enabled'
         default_min_hwe_kernel: ${_param:hwe_kernel}
     cluster:
-      saltstack_repo_xenial: "deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.11/ xenial main"
+      saltstack_repo_xenial: "deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.11/ xenial main"
   linux:
     network:
       interface: