saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
13.98k stars 5.47k forks source link

Fix pkg state aggregation with requisites #66570

Closed Akm0d closed 3 weeks ago

Akm0d commented 1 month ago

What does this PR do?

Fixes a regression that caused aggregated states to not properly respect requisites of the pre-aggregated states.

What issues does this PR fix or reference?

Fixes #65304

Previous Behavior

Setting state_aggregate: True caused packages in a pkg.installed state to be installed before specified requires requisite.

New Behavior

State aggregation respects requisites of the aggregated states.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes