From f3642e4b3938658a5b85af4323d610837aeceaec Mon Sep 17 00:00:00 2001
From: Alex Iribarren <Alex.Iribarren@cern.ch>
Date: Mon, 10 Jan 2022 15:57:57 +0100
Subject: [PATCH 1/2] Slightly less shitty

---
 dev.repos.d/rundeck-pagerduty.repo | 6 ++++++
 dev.repos.yaml                     | 5 +++++
 2 files changed, 11 insertions(+)
 create mode 100644 dev.repos.d/rundeck-pagerduty.repo

diff --git a/dev.repos.d/rundeck-pagerduty.repo b/dev.repos.d/rundeck-pagerduty.repo
new file mode 100644
index 0000000..df04105
--- /dev/null
+++ b/dev.repos.d/rundeck-pagerduty.repo
@@ -0,0 +1,6 @@
+[rundeck-pagerduty]
+name=rundeck-pagerduty
+baseurl=https://packages.rundeck.com/pagerduty/rundeck/rpm_any/rpm_any/$basearch
+gpgcheck=1
+enabled=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rundeck-pagerduty
\ No newline at end of file
diff --git a/dev.repos.yaml b/dev.repos.yaml
index b0d28a3..0854412 100644
--- a/dev.repos.yaml
+++ b/dev.repos.yaml
@@ -34,6 +34,11 @@ zoom:
   run_customscript: true
   customscript: 'bash /root/zoom.sh'
 
+### nasty hack for rundeck repo sync ###
+rundeck-pagerduty.repo:
+  run_customscript: true
+  customscript: 'mkdir -p /repo/mirror/packages.rundeck.com/pagerduty/rundeck/rpm_any && cd /repo/mirror/packages.rundeck.com/pagerduty/rundeck/rpm_any && ln -s rpm_any/ noarch'
+
 ### Repos go here ###
 
 redhat-5-els-x86_64.repo:
-- 
GitLab


From 5eb7e516371e1ef4de9412a72bed1da7c5f6148a Mon Sep 17 00:00:00 2001
From: Alex Iribarren <Alex.Iribarren@cern.ch>
Date: Mon, 10 Jan 2022 16:08:10 +0100
Subject: [PATCH 2/2] Create all subdirs

---
 dev.repos.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev.repos.yaml b/dev.repos.yaml
index 0854412..e10920a 100644
--- a/dev.repos.yaml
+++ b/dev.repos.yaml
@@ -37,7 +37,7 @@ zoom:
 ### nasty hack for rundeck repo sync ###
 rundeck-pagerduty.repo:
   run_customscript: true
-  customscript: 'mkdir -p /repo/mirror/packages.rundeck.com/pagerduty/rundeck/rpm_any && cd /repo/mirror/packages.rundeck.com/pagerduty/rundeck/rpm_any && ln -s rpm_any/ noarch'
+  customscript: 'mkdir -p /repo/mirror/packages.rundeck.com/pagerduty/rundeck/rpm_any/rpm_any && cd /repo/mirror/packages.rundeck.com/pagerduty/rundeck/rpm_any && ln -s rpm_any/ noarch'
 
 ### Repos go here ###
 
-- 
GitLab