Skip to content

Commit

Permalink
Only update rule files if AG
Browse files Browse the repository at this point in the history
  • Loading branch information
defensivedepth committed Feb 28, 2024
1 parent 59af547 commit e2dd0f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions salt/manager/tools/sbin/soup
Original file line number Diff line number Diff line change
Expand Up @@ -935,8 +935,10 @@ main() {
preupgrade_changes
echo ""

echo "Updating Airgap Rule Files to the Latest."
update_airgap_rules
if [[ $is_airgap -eq 0 ]]; then
echo "Updating Rule Files to the Latest."
update_airgap_rules
fi

# since we don't run the backup.config_backup state on import we wont snapshot previous version states and pillars
if [[ ! "$MINIONID" =~ "_import" ]]; then
Expand Down

0 comments on commit e2dd0f8

Please sign in to comment.