mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
Fix cache location
This commit is contained in:
@@ -34,15 +34,6 @@ repo_conf_dir:
|
|||||||
- user
|
- user
|
||||||
- group
|
- group
|
||||||
|
|
||||||
repo_cache_dir:
|
|
||||||
file.directory:
|
|
||||||
- name: /opt/so/reposync/cache
|
|
||||||
- user: socore
|
|
||||||
- group: socore
|
|
||||||
- recurse:
|
|
||||||
- user
|
|
||||||
- group
|
|
||||||
|
|
||||||
repo_dir:
|
repo_dir:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: /nsm/repo
|
- name: /nsm/repo
|
||||||
|
|||||||
@@ -1974,7 +1974,7 @@ repo_sync_local() {
|
|||||||
echo "clean_requirements_on_remove=True" >> /opt/so/conf/reposync/repodownload.conf
|
echo "clean_requirements_on_remove=True" >> /opt/so/conf/reposync/repodownload.conf
|
||||||
echo "best=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 "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 "keepcache=0" >> /opt/so/conf/reposync/repodownload.conf
|
||||||
echo "[securityonionsync]" >> /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
|
echo "name=Security Onion Repo repo" >> /opt/so/conf/reposync/repodownload.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user