Only update rule files if AG

This commit is contained in:
Josh Brower
2024-02-28 09:39:23 -05:00
parent 59af547838
commit e2dd0f8cf1

View File

@@ -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