105 Commits
Author SHA1 Message Date
Paul TobiasandClaude f418e6d8d8 test: ignore the pinned salt version in the _mapdata reference check
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>
2026-06-25 23:40:07 +07:00
Paul TobiasandClaude 5c894b9753 test: fix failing kitchen suites by pinning salt to the image version
On the *-3006* / *-3007* suites, kitchen fails on every platform while
applying the salt states:

    'salt' changed from '3006.17-0' to '3008.1-0'
    [ERROR ] ModuleNotFoundError: spec not found for the module 'site'
    >>>>>> Converge failed on <default-oraclelinux-9-3006-17>

The images ship salt 3006.17/3007.9, but salt.pkgrepo adds the
salt-repo-latest repo (saltproject-rpm/, currently 3008.1) and the unpinned
pkg.installed upgrades salt in place; swapping the running onedir under
salt-call breaks the post-install module refresh, so the run dies.

The per-version pins in test/salt/pillar/ only cover 3002/3003/3004 and set
salt:release, which is no longer read by any state. Pin salt:version to the
image's running version instead, so the formula keeps the installed salt.

Co-authored-by: Claude <noreply@anthropic.com>
2026-06-25 22:09:27 +07:00
Georg PfuetzenreuterandGeorg Pfuetzenreuter 21c1492686 fix(suse): update pygit2 package name
On modern SUSE distributions, Python module package names
will only resolve with the python3- prefix.

Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
2025-10-13 12:36:59 +02:00
Dafydd Jones 4419c79a87 test(_mapdata): update to latest versions 2025-06-10 22:54:18 +01:00
Dafydd Jones f1e36d6d8f test: do not test installed Salt version
* Dont believe this is a useful test as the test images come with Salt installed
2025-06-10 14:33:59 +01:00
sticky-noteandGitHub fe660a9f9b Merge pull request #538 from llua/fbsd_pkg
update freebsd `py38-*` package names to `py39-*`
2022-08-27 08:04:33 +11:00
Eric Cook 2881fdd811 feat(freebsd): update package names for Python 3.9
% print $OSTYPE;pkg search 'py39-(pygit2|gitpython|dulwich|salt)'
freebsd13.0
py39-dulwich-0.19.16           Python implementation of the Git file formats and protocols
py39-gitpython-3.1.27          Python Git Library
py39-pygit2-1.8.0              Python bindings for libgit2
py39-salt-3004.2               Distributed remote execution and configuration management system
2022-07-20 11:18:52 -04:00
Imran Iqbal a81ced482d chore(gemfile.lock): update to latest gem versions (2022-W28) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/454
2022-07-17 19:48:06 +01:00
Imran Iqbal c8f9dd44e6 ci: update pre-commit configuration inc. for pre-commit.ci [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/450
2022-06-08 23:53:44 +01:00
Imran Iqbal c05fddf139 feat(macos): use saltstack as package to install 2022-05-17 09:03:28 +01:00
Imran Iqbal c1c635fda4 test(macos): add map.jinja verification files 2022-05-17 09:03:27 +01:00
Imran Iqbal dc9cff99c5 test(macos): update for this platform 2022-05-17 09:03:27 +01:00
Imran Iqbal 8ab60b9689 ci(macos): enable testing using GitHub Actions
* Automated using https://github.com/myii/ssf-formula/pull/443
2022-05-17 09:01:41 +01:00
Imran Iqbal e8a1237632 test(system.rb): add support for mac_os_x [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/442
2022-05-17 08:51:42 +01:00
Imran Iqbal c20deb92d4 test(_mapdata): add verification file for fedora-36 [skip ci] 2022-04-11 16:14:35 +01:00
Imran Iqbal e9cb3d2728 test(_mapdata): add/update verification files for Fedora & Gentoo 2022-04-03 10:19:53 +01:00
Imran Iqbal 6b5598a8d8 test(system): add build_platform_codename [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/415
2022-02-14 08:08:45 +00:00
Imran Iqbal 8015fe0c92 test: update for new pre-salted images [skip ci] 2022-02-02 23:02:00 +00:00
Imran Iqbal d95dac24aa ci(kitchen+gitlab): update for new pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/410
2022-02-02 23:01:43 +00:00
Imran Iqbal a1e9823b42 ci(windows): use Salt version 3004 [skip ci]
* Semi-automated using https://github.com/myii/ssf-formula/pull/399
2022-01-12 09:30:59 +00:00
Imran Iqbal 21b8d3626e ci(proxy): replace deprecated Windows 2016 with 2022 [skip ci]
* Semi-automated using https://github.com/myii/ssf-formula/pull/393
2021-12-22 09:05:27 +00:00
Robert FairburnandImran Iqbal 5b7d7ea70e fix(master): master.d template to support saltclass ext_pillar 2021-11-30 23:15:21 +00:00
Imran Iqbal 4b356b1213 test(_mapdata): update verification files for FreeBSD [skip ci] 2021-11-23 10:25:25 +00:00
Imran Iqbal f1ead04517 test(_mapdata): add verification file for OpenBSD 7.0 [skip ci] 2021-11-23 10:21:53 +00:00
Imran Iqbal 93289f6df1 ci(kitchen+gitlab): adjust matrix to add 3004
* Semi-automated using https://github.com/myii/ssf-formula/pull/385
2021-11-20 21:58:03 +00:00
Imran Iqbal f9ff8eab10 test(silicon): add pillar and verification files for 3004 2021-11-20 21:57:37 +00:00
Imran Iqbal db5b69c9cd test(pillar): centralise and clean-up entries 2021-11-17 21:53:22 +00:00
Imran Iqbal b475e24638 test: centralise all suites into default suite
Modify the `default` suite to use the `saltmajorversion` InSpec input
rather than the `version` variable in `pkgs_spec.rb`.
2021-11-17 21:53:19 +00:00
Imran Iqbal 98c9dbfcfb ci: use pillars_from_directories & test/salt/pillar/top.sls
* Automated using https://github.com/myii/ssf-formula/pull/384
2021-11-17 21:53:16 +00:00
hk a932a8cc84 fix: update to modern defaults for Debian family
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.
2021-11-05 10:08:00 +01:00
Imran Iqbal f4a91c458c test(_mapdata): use 15.3 for opensuse-15.yaml 2021-10-05 09:44:54 +01:00
Imran Iqbal d00b04a5df test(neon): remove pillar and tests for v3000 2021-10-05 00:17:59 +01:00
Imran Iqbal 678548fc8b test(_mapdata): reset indentation [skip ci] 2021-09-17 20:17:45 +01:00
Javier Bértoli 47ab261b39 fix(debian,ubuntu): rename repo file to match documentation
Also:

* add keyring file for the salt repo, due to `apt-key` deprecation
* remove old repository file
2021-09-17 15:50:54 -03:00
Javier Bértoli cd2a0bfdf0 ci(mapdata): remove Ubuntu 16.04 [skip ci] 2021-09-17 13:19:14 -03:00
Imran Iqbal c16e7a3b75 test(_mapdata): update verification files for master_type: str
Use the following command:

```
$ GREP_SED="^\(\s\+master_type: \)true" \
  && grep -rl "${GREP_SED}" test/integration/ \
  | xargs sed -i -e "/${GREP_SED}/s//\1str/"
```
2021-09-04 21:27:44 +01:00
Imran Iqbal f64197ada4 test(pkgs_spec): fix latest rubocop violations [skip ci]
```
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
```
2021-09-04 21:27:31 +01:00
Imran Iqbal 42d64870e3 test(_mapdata): add AlmaLinux verification file [skip ci] 2021-08-19 08:12:07 +01:00
Imran Iqbal 68f69e5f32 chore(gemfile.lock): update to latest gem versions (2021-W29) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/349
2021-07-21 18:33:52 +01:00
Imran Iqbal 0ab42d7ce8 feat(freebsd): update packages from py37-* => py38-* 2021-07-14 14:42:28 +01:00
Imran Iqbal 0e62858986 ci(3003.1): update inc. AlmaLinux, Rocky & rst-lint [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/335
2021-07-02 00:07:43 +01:00
Imran Iqbal 5146c449d5 fix(oracle-7): use osmajorrelease instead of $releasever
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
```
2021-05-25 21:03:37 +01:00
Imran Iqbal 80542bad6e fix(repo): update repo urls to repo.saltproject.io
Use the following command:

```
$ GREP_SED="\(repo\.salt\)stack\.com" \
  && grep -rl --exclude-dir=.git "${GREP_SED}" \
  | grep -v .un~$ \
  | xargs sed -i -e "/${GREP_SED}/s//\1project.io/g"
```
2021-05-25 19:27:15 +01:00
Imran Iqbal 374527b235 ci(vagrant): add OpenBSD 6.9 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/327
2021-05-23 08:28:22 +01:00
Imran Iqbal 480b7edbfb ci(kitchen+gitlab): adjust matrix to add 3003
* Semi-automated using https://github.com/myii/ssf-formula/pull/318
2021-04-22 23:53:05 +01:00
Imran Iqbal 752a1dea22 test(aluminium): add pillar, tests and verification files for 3003 2021-04-22 08:52:57 +01:00
Imran Iqbal 10ae613cae test(freebsd): add map.jinja verification file (for 13.0) 2021-04-19 23:34:37 +01:00
Imran Iqbal fd285d8c5b ci(vagrant): add Windows 10 pre-salted box [skip ci]
* Semi-automated using https://github.com/myii/ssf-formula/pull/313
* Add Window 10 map verification file
2021-04-14 08:24:30 +01:00
Imran Iqbal a30f124485 fix(freebsd): fix package names [skip ci]
Resolves issues introduced in 24ebbb4e0c.
2021-04-04 15:41:53 +01:00
Imran Iqbal 26f2cc1ef0 test(freebsd-11): fix osfinger in comment [skip ci] 2021-03-31 08:15:43 +01:00