mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-07-26 01:49:42 +02:00
test: skip salt.pkgrepo in kitchen to avoid upgrading the image's salt
The *-3006* / *-3007* suites fail on every platform: salt.pkgrepo adds the
salt-repo-latest repo (currently 3008.1), and the unpinned pkg.installed then
upgrades the image's salt in place, swapping the running onedir and crashing
the post-install module refresh with:
ModuleNotFoundError: spec not found for the module 'site'
The kitchen images already ship a pinned Salt repo. This drops salt.pkgrepo
from the suite's state_top so pkg.installed should resolve salt from the
image's repo rather than the layered 'latest' one — avoiding the salt:version
pin that changed salt._mapdata on #591.
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -249,7 +249,7 @@ suites:
|
||||
base:
|
||||
'*':
|
||||
- salt._mapdata
|
||||
- salt.pkgrepo
|
||||
# no salt.pkgrepo: it upgrades image's salt to latest in place and crashes
|
||||
- salt.master
|
||||
- salt.minion
|
||||
verifier:
|
||||
|
||||
Reference in New Issue
Block a user