add minions.d dir

This commit is contained in:
Mike Reeves
2023-02-17 10:40:43 -05:00
parent 405060674c
commit 353b77cd59
2 changed files with 4 additions and 4 deletions

View File

@@ -45,13 +45,10 @@ commonpkgs:
- createrepo
- python3-lxml
- python3-packaging
- python3-watchdog
- yum-utils
- device-mapper-persistent-data
- lvm2
- openssl
- git
- vim-enhanced
- python3-docker
{% else %}
commonpkgs:

View File

@@ -1965,6 +1965,8 @@ repo_sync_local() {
# Make sure we can get to the sig repo
logCmd "curl --retry 5 --retry-delay 60 -A 'gridinstall/$SOVERSION/$OS/$(uname -r)/1' https://sigs.securityonion.net/checkup --output /tmp/checkup"
logCmd "dnf reposync --norepopath -n -g --delete -m -c /root/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/"
# Run it again and make sure we got allt he things
logCmd "dnf reposync --norepopath -n -g --delete -m -c /root/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/"
# After the download is complete run createrepo
@@ -2018,6 +2020,7 @@ saltify() {
else
# THIS IS A TEMP HACK
logCmd "dnf -y install securityonion-salt"
logCmd "mkdir -p /etc/salt/minion.d"
if [[ $waitforstate ]]; then
# Since this is a salt master so let's install it
logCmd ""