Only allow reposync to run on managers

This commit is contained in:
Mike Reeves
2023-03-23 09:49:02 -04:00
parent c64987e756
commit b3ea4194dd

View File

@@ -7,6 +7,11 @@
. /usr/sbin/so-common . /usr/sbin/so-common
if [ ! -f /root/repodownload.conf ]; then
echo "This script should only run on the manager."
exit 1
fi
set_version set_version
set_os set_os
salt_minion_count salt_minion_count