Fix cache location

This commit is contained in:
Mike Reeves
2023-03-23 12:39:31 -04:00
parent c977f38a58
commit 0a096712cb
2 changed files with 1 additions and 10 deletions

View File

@@ -34,15 +34,6 @@ repo_conf_dir:
- user
- group
repo_cache_dir:
file.directory:
- name: /opt/so/reposync/cache
- user: socore
- group: socore
- recurse:
- user
- group
repo_dir:
file.directory:
- name: /nsm/repo

View File

@@ -1974,7 +1974,7 @@ repo_sync_local() {
echo "clean_requirements_on_remove=True" >> /opt/so/conf/reposync/repodownload.conf
echo "best=True" >> /opt/so/conf/reposync/repodownload.conf
echo "skip_if_unavailable=False" >> /opt/so/conf/reposync/repodownload.conf
echo "cachedir=/opt/so/reposync/cache" >> /opt/so/conf/reposync/repodownload.conf
echo "cachedir=/opt/so/conf/reposync/cache" >> /opt/so/conf/reposync/repodownload.conf
echo "keepcache=0" >> /opt/so/conf/reposync/repodownload.conf
echo "[securityonionsync]" >> /opt/so/conf/reposync/repodownload.conf
echo "name=Security Onion Repo repo" >> /opt/so/conf/reposync/repodownload.conf