summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2017-08-17 15:46:42 +0000
committerRalph Bean <rbean@redhat.com>2017-08-17 15:46:42 +0000
commit708abe44ff18d5f81df1dfe5ee635a38a3b68828 (patch)
treebe3bc9a204431fc7196ceadef1d4d385f27ae3d5
parent7ba8e622593c49e090f5250ca699fc19be1fca6d (diff)
downloadansible-708abe44ff18d5f81df1dfe5ee635a38a3b68828.tar.gz
ansible-708abe44ff18d5f81df1dfe5ee635a38a3b68828.tar.xz
ansible-708abe44ff18d5f81df1dfe5ee635a38a3b68828.zip
owner-sync: s390 merged into primary from f27 onwards.
-rwxr-xr-xroles/bodhi2/backend/templates/owner-sync-pagure.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2
index 09bed1e59..946a2b175 100755
--- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2
+++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2
@@ -156,8 +156,11 @@ def get_repo_name_and_arches(tag, version):
else:
if version <= "25":
arches = ["primary", "arm", "ppc", "s390"]
- else:
+ elif version <= "26":
arches = ["primary", "s390"]
+ else:
+ # Yay! Everything in primary.
+ arches = ["primary"]
return repo_name, arches