Merge pull request #13022 from Security-Onion-Solutions/soupaml

add a newline to final output of so-elastic-agent-gen-installers
This commit is contained in:
Josh Patterson
2024-05-15 16:37:53 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -72,5 +72,5 @@ do
printf "\n### $GOOS/$GOARCH Installer Generated...\n" printf "\n### $GOOS/$GOARCH Installer Generated...\n"
done done
printf "\n### Cleaning up temp files in /nsm/elastic-agent-workspace" printf "\n### Cleaning up temp files in /nsm/elastic-agent-workspace\n"
rm -rf /nsm/elastic-agent-workspace rm -rf /nsm/elastic-agent-workspace

View File

@@ -438,7 +438,7 @@ post_to_2.4.60() {
} }
post_to_2.4.70() { post_to_2.4.70() {
echo "Removing idh.services from any existing IDH node pillar files" printf "\nRemoving idh.services from any existing IDH node pillar files\n"
for file in /opt/so/saltstack/local/pillar/minions/*.sls; do for file in /opt/so/saltstack/local/pillar/minions/*.sls; do
if [[ $file =~ "_idh.sls" && ! $file =~ "/opt/so/saltstack/local/pillar/minions/adv_" ]]; then if [[ $file =~ "_idh.sls" && ! $file =~ "/opt/so/saltstack/local/pillar/minions/adv_" ]]; then
echo "Removing idh.services from: $file" echo "Removing idh.services from: $file"