Pinning salt:version (previous commit) writes the running version into
salt_settings.version, but the _mapdata reference files are static and one
per OS — shared across the -3006/-3007/-master suites — so they can't carry a
per-image version. Drop salt_settings.version from both sides of the compare:
it now tracks the kitchen image's salt rather than a fixed default, so it's
not a value the static reference should assert.
Co-authored-by: Claude <noreply@anthropic.com>
On modern SUSE distributions, Python module package names
will only resolve with the python3- prefix.
Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
Don't add key_url as it is deprecated and not needed when
pkgrepo_keyring is set. This has been supported since stretch so make it
the default. Also use py3 repo by default for Debian family as it is now
the only option.
Additionally, Raspbian has been updated to use signed-by by default.
```
Offenses:
test/integration/v3000-py2/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
%w[Salt\ Minion]
^^^^^^^^^^^^^^^^
test/integration/v3000-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
%w[Salt\ Minion]
^^^^^^^^^^^^^^^^
test/integration/v3001-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
%w[Salt\ Minion]
^^^^^^^^^^^^^^^^
test/integration/v3002-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
%w[Salt\ Minion]
^^^^^^^^^^^^^^^^
test/integration/v3003-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
%w[Salt\ Minion]
^^^^^^^^^^^^^^^^
19 files inspected, 5 offenses detected, 5 offenses auto-correctable
```
Avoid this error:
```
ID: salt-master
Function: pkg.installed
Result: False
Comment: Error occurred installing package(s). Additional info follows:
errors:
- Running scope as unit run-402.scope.
Loaded plugins: ovl, ulninfo
https://repo.saltproject.io/py3/redhat/7Server/x86_64/3002/repodata/repomd.xml:
[Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
No package salt-master available.
Error: Nothing to do
```