From 504160912abb5f2f82762a4145bda350fc638a76 Mon Sep 17 00:00:00 2001 From: handreas <andreas.hamacher@monash.edu> Date: Tue, 5 May 2020 06:25:04 +0000 Subject: [PATCH] factoring out the repository path to be able to switch between centos and centos-staging --- roles/config_repos/templates/monashhpc_base.repo.j2 | 8 ++++---- roles/config_repos/templates/monashhpc_others.repo.j2 | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/config_repos/templates/monashhpc_base.repo.j2 b/roles/config_repos/templates/monashhpc_base.repo.j2 index 0f0cd119..a2682a43 100644 --- a/roles/config_repos/templates/monashhpc_base.repo.j2 +++ b/roles/config_repos/templates/monashhpc_base.repo.j2 @@ -2,24 +2,24 @@ [monashhpc_base] name=MonashHPC base repository mirrored to control the update process -baseurl=https://{{ reposervername }}/centos/$releasever/os/$basearch/ +baseurl=https://{{ reposervername }}/{{ repopath }}/$releasever/os/$basearch/ enabled=1 sslverify=false [monashhpc_updates] name=MonashHPC base repository mirrored to control the update process -baseurl=https://{{ reposervername }}/centos/$releasever/updates/$basearch/ +baseurl=https://{{ reposervername }}/{{ repopath }}/$releasever/updates/$basearch/ enabled=1 sslverify=false [monashhpc_extras] name=MonashHPC base repository mirrored to control the update process -baseurl=https://{{ reposervername }}/centos/$releasever/extras/$basearch/ +baseurl=https://{{ reposervername }}/{{ repopath }}/$releasever/extras/$basearch/ enabled=1 sslverify=false [monashhpc_centosplus] name=MonashHPC base repository mirrored to control the update process -baseurl=https://{{ reposervername }}/centos/$releasever/centosplus/$basearch/ +baseurl=https://{{ reposervername }}/{{ repopath }}/$releasever/centosplus/$basearch/ enabled=1 sslverify=false diff --git a/roles/config_repos/templates/monashhpc_others.repo.j2 b/roles/config_repos/templates/monashhpc_others.repo.j2 index bd0b0627..de20f992 100644 --- a/roles/config_repos/templates/monashhpc_others.repo.j2 +++ b/roles/config_repos/templates/monashhpc_others.repo.j2 @@ -2,7 +2,7 @@ [monashhpc_otherstuff] name=MonashHPC base repository mirrored to control the update process -baseurl=https://{{ reposervername }}/centos/hpcsystems/$releasever/$basearch/ +baseurl=https://{{ reposervername }}/{{ repopath }}/hpcsystems/$releasever/$basearch/ enabled=1 sslverify=false gpgcheck=0 -- GitLab