diff --git a/salt/common/tools/sbin/so-repo-sync b/salt/common/tools/sbin/so-repo-sync index c69aa44ad..1c09ae60d 100644 --- a/salt/common/tools/sbin/so-repo-sync +++ b/salt/common/tools/sbin/so-repo-sync @@ -7,6 +7,11 @@ . /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_os salt_minion_count