From 6a9d78fa7c796f51a9aed2f352461818b818a833 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 21 Jun 2024 15:10:44 -0400 Subject: [PATCH] Make soup use reposync from the repo --- salt/common/soup_scripts.sls | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/salt/common/soup_scripts.sls b/salt/common/soup_scripts.sls index 898de67ee..508b95b67 100644 --- a/salt/common/soup_scripts.sls +++ b/salt/common/soup_scripts.sls @@ -57,6 +57,12 @@ copy_so-yaml_manager_tools_sbin: - force: True - preserve: True +copy_so-repo-sync_manager_tools_sbin: + file.copy: + - name: /opt/so/saltstack/default/salt/manager/tools/sbin/so-repo-sync + - source: {{UPDATE_DIR}}/salt/manager/tools/sbin/so-repo-sync + - preserve: True + # This section is used to put the new script in place so that it can be called during soup. # It is faster than calling the states that normally manage them to put them in place. copy_so-common_sbin: @@ -94,6 +100,13 @@ copy_so-yaml_sbin: - force: True - preserve: True +copy_so-repo-sync_sbin: + file.copy: + - name: /usr/sbin/so-repo-sync + - source: {{UPDATE_DIR}}/salt/manager/tools/sbin/so-repo-sync + - force: True + - preserve: True + {% else %} fix_23_soup_sbin: cmd.run: