Imran Iqbal
f4a91c458c
test(_mapdata): use `15.3` for `opensuse-15.yaml`
pirms 3 gadiem
Imran Iqbal
d00b04a5df
test(neon): remove pillar and tests for `v3000`
pirms 3 gadiem
Imran Iqbal
678548fc8b
test(_mapdata): reset indentation [skip ci]
pirms 3 gadiem
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
pirms 3 gadiem
Javier Bértoli
cd2a0bfdf0
ci(mapdata): remove Ubuntu 16.04 [skip ci]
pirms 3 gadiem
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/"
```
pirms 3 gadiem
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
```
pirms 3 gadiem
Imran Iqbal
42d64870e3
test(_mapdata): add AlmaLinux verification file [skip ci]
pirms 3 gadiem
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
pirms 3 gadiem
Imran Iqbal
0ab42d7ce8
feat(freebsd): update packages from `py37-*` => `py38-*`
pirms 3 gadiem
Imran Iqbal
0e62858986
ci(3003.1): update inc. AlmaLinux, Rocky & `rst-lint` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/335
pirms 3 gadiem
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
```
pirms 3 gadiem
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"
```
pirms 3 gadiem
Imran Iqbal
374527b235
ci(vagrant): add OpenBSD 6.9 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/327
pirms 3 gadiem
Imran Iqbal
480b7edbfb
ci(kitchen+gitlab): adjust matrix to add `3003`
* Semi-automated using https://github.com/myii/ssf-formula/pull/318
pirms 3 gadiem
Imran Iqbal
752a1dea22
test(aluminium): add pillar, tests and verification files for `3003`
pirms 3 gadiem
Imran Iqbal
10ae613cae
test(freebsd): add `map.jinja` verification file (for 13.0)
pirms 3 gadiem
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
pirms 3 gadiem
Imran Iqbal
a30f124485
fix(freebsd): fix package names [skip ci]
Resolves issues introduced in 24ebbb4e0c
.
pirms 3 gadiem
Imran Iqbal
26f2cc1ef0
test(freebsd-11): fix `osfinger` in comment [skip ci]
pirms 3 gadiem
Imran Iqbal
e6bcdc1b4d
test: update for new platforms (inc. using `system` library)
pirms 3 gadiem
Imran Iqbal
61201de8c6
fix(openbsd): update to provide support for most recent versions
pirms 3 gadiem
Imran Iqbal
24ebbb4e0c
fix(freebsd): update to provide support for most recent versions
pirms 3 gadiem
Imran Iqbal
bbd7286240
refactor(retry_options): provide options from defaults/pillar
pirms 3 gadiem
Imran Iqbal
e31a56e7a3
test(_mapdata): add Arch Linux verification file
pirms 3 gadiem
Imran Iqbal
e0afe89f24
test: add Windows map verification files
pirms 3 gadiem
Imran Iqbal
9816f473c5
test: standardise use of `share` suite & `_mapdata` state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
pirms 3 gadiem
Imran Iqbal
e94a8c9dce
test(debian+ubuntu): update `pkgrepo` to use `https` instead of `http`
```
$ GREP_SED="\(pkgrepo: deb http\):" \
&& grep -rl "${GREP_SED}" test/integration/v* \
| xargs sed -i -e "/${GREP_SED}/s//\1s:/"
```
pirms 3 gadiem
Dafydd Jones
a89fb3f4aa
fix: revert to using `is mapping` in Jinja2
* CVE-2021-25283 enables Jinja2 safe mode, which breaks use of
`'dict' in x.__class__.__name__` workaround
* Workaround no longer needed as CentOS 6 is EOL
pirms 3 gadiem
Daniel Dehennin
6dbba14a29
chore(rubocop): allow use of `YAML.load` for `_mapdata.rb` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/296
pirms 3 gadiem
Imran Iqbal
fb9901e3ac
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
pirms 3 gadiem
Imran Iqbal
f00d7ad348
chore: standardise structure (`.gitignore` & `_mapdata.rb`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
pirms 3 gadiem
Imran Iqbal
6aeaa5ac94
test(tumbleweed): add map verification files
pirms 3 gadiem
Imran Iqbal
48f8da0357
fix(osfamilymap): update openSUSE `pkgrepo` URLs
pirms 3 gadiem
Imran Iqbal
a9413e8c29
ci(kitchen+gitlab): update for new pre-salted images
* Semi-automated using https://github.com/myii/ssf-formula/pull/288
pirms 3 gadiem
Imran Iqbal
da6d1509fd
test(_mapdata): generate verification files
pirms 3 gadiem
Imran Iqbal
d2404d5175
test(map): verify `map.jinja` dump using `_mapdata` state
* Semi-automated using https://github.com/myii/ssf-formula/pull/285
pirms 3 gadiem
Imran Iqbal
7df2445481
ci(kitchen+gitlab): adjust matrix to add `3002`
* Semi-automated using https://github.com/myii/ssf-formula/pull/280
pirms 3 gadiem
Imran Iqbal
c0660608d7
test(magnesium): add pillar and tests for `3002`
pirms 3 gadiem
Imran Iqbal
618f95a665
test(pkgs_spec): test for major version only (i.e. `3000`)
pirms 4 gadiem
Imran Iqbal
75ccf591eb
test(fluorine): remove pillar and tests for `2019.2`
pirms 4 gadiem
Imran Iqbal
127c5d779b
feat: add Gentoo support
* Semi-automated using https://github.com/myii/ssf-formula/pull/269
pirms 4 gadiem
Dafydd Jones
0465af72da
test(windows): add local testing of Windows using Vagrant/Virtualbox
pirms 4 gadiem
Imran Iqbal
9060879924
ci(kitchen+travis): adjust matrix to add `3001`
* Semi-automated using https://github.com/myii/ssf-formula/pull/230
pirms 4 gadiem
Imran Iqbal
42cacc253f
test(sodium): add pillar and tests for `3001`
pirms 4 gadiem
Imran Iqbal
b2b1fee370
test(pkgs_spec): simplify using `match` (trigger: update for `suse`)
* https://travis-ci.org/github/myii/salt-formula/jobs/692337807#L2366-L2381
- `opensuse` now has `3000.3` available
* Simplification is useful anyway, even without this (could still use `case`)
pirms 4 gadiem
Imran Iqbal
301a9884ac
test(pkgs_spec): update version installed on `fedora`
pirms 4 gadiem
Imran Iqbal
5d9a92bf1d
fix(opensuse): use appropriate upstream repo
pirms 4 gadiem
Imran Iqbal
5917569464
test(pkgs_spec): update for releases `3000.3` & `2019.2.5`
* https://docs.saltstack.com/en/latest/topics/releases/3000.3.html
* https://docs.saltstack.com/en/latest/topics/releases/2019.2.5.html
pirms 4 gadiem
Imran Iqbal
c228029879
test: add tests for `v3000-py2`
pirms 4 gadiem