Imran Iqbal
226a187258
ci(kitchen+gitlab): remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/331
3 years ago
Pedro Worcel
209575f385
docs(readme): add documentation regarding salt.formula usage [skip ci]
* docs(readme): add documentation regarding salt.formula usage.
* docs(readme): change salt.formulas documentation to use double backtick.
Co-authored-by: Imran Iqbal <myii@users.noreply.github.com>
3 years ago
semantic-release-bot
1399ccbb6e
chore(release): 1.8.5 [skip ci]
## [1.8.5](https://github.com/saltstack-formulas/salt-formula/compare/v1.8.4...v1.8.5 ) (2021-05-25)
### Bug Fixes
* **oracle-7:** use `osmajorrelease` instead of `$releasever` ([5146c44
](5146c449d5
))
* **repo:** update repo urls to `repo.saltproject.io` ([80542ba
](80542bad6e
))
### Continuous Integration
* **vagrant:** add OpenBSD 6.9 [skip ci] ([374527b
](374527b235
))
* add `arch-master` to matrix and update `.travis.yml` [skip ci] ([b867733
](b8677339cc
))
* **gitlab-ci:** update Fedora testing after release [skip ci] ([33d6a03
](33d6a033d3
))
3 years ago
Imran Iqbal
d1a83c6643
Merge pull request #506 from myii/fix/update-repo-urls-to-saltproject.io
fix(repo): update repo urls to `repo.saltproject.io` (inc. fix for `oraclelinux-7`)
3 years ago
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
```
3 years ago
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"
```
3 years ago
Imran Iqbal
374527b235
ci(vagrant): add OpenBSD 6.9 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/327
3 years ago
Imran Iqbal
eb13e826f6
chore(pre-commit): use `info` report level for `rstcheck` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/325
3 years ago
Imran Iqbal
b8677339cc
ci: add `arch-master` to matrix and update `.travis.yml` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/323
3 years ago
Imran Iqbal
33d6a033d3
ci(gitlab-ci): update Fedora testing after release [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/322
3 years ago
semantic-release-bot
ee14bb45fd
chore(release): 1.8.4 [skip ci]
## [1.8.4](https://github.com/saltstack-formulas/salt-formula/compare/v1.8.3...v1.8.4 ) (2021-04-24)
### Bug Fixes
* **freebsd:** use `retry_options` to avoid spurious service failures ([698b7ea
](698b7eae59
))
3 years ago
Imran Iqbal
65f9f27fc9
Merge pull request #505 from myii/fix/use-retry-options-for-all-services-on-freebsd
fix(freebsd): use `retry_options` to avoid spurious service failures
3 years ago
Imran Iqbal
698b7eae59
fix(freebsd): use `retry_options` to avoid spurious service failures
Use the `retry_options` already being used for the Salt minion service,
since we're getting failures such as this one:
* https://github.com/myii/salt-formula/runs/2415072504
This is made worse by the fact that GitHub Actions cannot re-run a
single job (at the current time).
3 years ago
semantic-release-bot
0e96047b16
chore(release): 1.8.3 [skip ci]
## [1.8.3](https://github.com/saltstack-formulas/salt-formula/compare/v1.8.2...v1.8.3 ) (2021-04-22)
### Continuous Integration
* **kitchen+gitlab:** adjust matrix to add `3003` ([480b7ed
](480b7edbfb
))
* **vagrant:** add FreeBSD 13.0 [skip ci] ([6316991
](6316991334
))
* **vagrant:** add Windows 10 pre-salted box [skip ci] ([fd285d8
](fd285d8c5b
))
### Tests
* **aluminium:** add pillar, tests and verification files for `3003` ([752a1de
](752a1dea22
))
* **freebsd:** add `map.jinja` verification file (for 13.0) ([10ae613
](10ae613cae
))
3 years ago
Imran Iqbal
18839da929
Merge pull request #504 from myii/ci/add-3003
ci(kitchen+gitlab): adjust matrix to add `3003`
3 years ago
Imran Iqbal
480b7edbfb
ci(kitchen+gitlab): adjust matrix to add `3003`
* Semi-automated using https://github.com/myii/ssf-formula/pull/318
3 years ago
Imran Iqbal
752a1dea22
test(aluminium): add pillar, tests and verification files for `3003`
3 years ago
Imran Iqbal
6316991334
ci(vagrant): add FreeBSD 13.0 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/316
3 years ago
Imran Iqbal
10ae613cae
test(freebsd): add `map.jinja` verification file (for 13.0)
3 years ago
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
3 years ago
semantic-release-bot
ff31dfb18e
chore(release): 1.8.2 [skip ci]
## [1.8.2](https://github.com/saltstack-formulas/salt-formula/compare/v1.8.1...v1.8.2 ) (2021-04-09)
### Bug Fixes
* **freebsd:** fix package names [skip ci] ([a30f124
](a30f124485
))
### Continuous Integration
* **vagrant:** use pre-salted boxes & conditional local settings [skip ci] ([5941618
](5941618c6e
))
### Tests
* **freebsd-11:** fix `osfinger` in comment [skip ci] ([26f2cc1
](26f2cc1ef0
))
3 years ago
Raphaël Hertzog
97299983ba
Ensure consistent ordering of module_config entries
Right now when you set module_config entries in your pillar data
like this:
salt:
minion:
module_config:
smtp.from: 'Kali Salt <admins+salt@kali.org>'
smtp.to: 'Kali Admins <admins+salt@kali.org>'
smtp.host: localhost
smtp.subject: 'Results of salt actions on'
smtp.fields: id,fun
On each run, you will always a different ordering of the various
fields in the minion configuration file, leading to spurious restart
of the minion and admin annoyance:
ID: salt-minion
Function: file.recurse
Name: /etc/salt/minion.d
Result: True
Comment: Recursively updated /etc/salt/minion.d
Started: 13:39:25.689775
Duration: 874.318 ms
Changes:
----------
/etc/salt/minion.d/f_defaults.conf:
----------
diff:
---
+++
@@ -930,10 +930,10 @@
# A dict for the test module:
#test.baz: {spam: sausage, cheese: bread}
#
+smtp.fields: id,fun
+smtp.from: Kali Salt <admins+salt@kali.org>
smtp.to: Kali Admins <admins+salt@kali.org>
-smtp.fields: id,fun
smtp.host: localhost
-smtp.from: Kali Salt <admins+salt@kali.org>
smtp.subject: Results of salt actions on
With the change here, this bad behaviour is gone...
3 years ago
Imran Iqbal
5941618c6e
ci(vagrant): use pre-salted boxes & conditional local settings [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/311
3 years ago
Imran Iqbal
157e566008
chore: update `CODEOWNERS` & `.yamllint` re: `kitchen-vagrant` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/310
3 years ago
Imran Iqbal
a30f124485
fix(freebsd): fix package names [skip ci]
Resolves issues introduced in 24ebbb4e0c
.
3 years ago
Imran Iqbal
26f2cc1ef0
test(freebsd-11): fix `osfinger` in comment [skip ci]
3 years ago
semantic-release-bot
f457a807b0
chore(release): 1.8.1 [skip ci]
## [1.8.1](https://github.com/saltstack-formulas/salt-formula/compare/v1.8.0...v1.8.1 ) (2021-03-30)
### Bug Fixes
* **freebsd:** update to provide support for most recent versions ([24ebbb4
](24ebbb4e0c
))
* **openbsd:** update to provide support for most recent versions ([61201de
](61201de8c6
))
* **osfamilymap:** use `whoami` for Windows `rootuser` ([69d5981
](69d598138e
)), closes [#495 ](https://github.com/saltstack-formulas/salt-formula/issues/495 )
### Code Refactoring
* **retry_options:** provide options from defaults/pillar ([bbd7286
](bbd7286240
))
### Continuous Integration
* enable Vagrant-based testing using GitHub Actions ([163c77f
](163c77fcee
))
* **kitchen+ci:** use latest pre-salted images (after CVE) [skip ci] ([cfefcc8
](cfefcc83c0
))
* **windows:** use `kitchen.windows.yml` ([c6043fb
](c6043fbc9d
))
### Documentation
* **readme:** add `Testing with Vagrant` section ([ef1bc02
](ef1bc02a86
))
### Tests
* update for new platforms (inc. using `system` library) ([e6bcdc1
](e6bcdc1b4d
))
* **_mapdata:** add Arch Linux verification file ([e31a56e
](e31a56e7a3
))
* add Windows map verification files ([e0afe89
](e0afe89f24
))
* standardise use of `share` suite & `_mapdata` state [skip ci] ([9816f47
](9816f473c5
))
3 years ago
Imran Iqbal
5523523213
Merge pull request #502 from myii/ci/add-vagrant-testing-via-github-actions
ci: enable Vagrant-based testing using GitHub Actions
3 years ago
Imran Iqbal
e6bcdc1b4d
test: update for new platforms (inc. using `system` library)
3 years ago
Imran Iqbal
61201de8c6
fix(openbsd): update to provide support for most recent versions
3 years ago
Imran Iqbal
24ebbb4e0c
fix(freebsd): update to provide support for most recent versions
3 years ago
Imran Iqbal
bbd7286240
refactor(retry_options): provide options from defaults/pillar
3 years ago
Imran Iqbal
e31a56e7a3
test(_mapdata): add Arch Linux verification file
3 years ago
Imran Iqbal
e0afe89f24
test: add Windows map verification files
3 years ago
Imran Iqbal
69d598138e
fix(osfamilymap): use `whoami` for Windows `rootuser`
Fix #495
3 years ago
Imran Iqbal
ef1bc02a86
docs(readme): add `Testing with Vagrant` section
3 years ago
Imran Iqbal
163c77fcee
ci: enable Vagrant-based testing using GitHub Actions
* Semi-automated using https://github.com/myii/ssf-formula/pull/304
3 years ago
Imran Iqbal
9816f473c5
test: standardise use of `share` suite & `_mapdata` state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
3 years ago
Imran Iqbal
cfefcc83c0
ci(kitchen+ci): use latest pre-salted images (after CVE) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/299
3 years ago
Dafydd Jones
e48ebb6431
Merge pull request #499 from myii/ci/move-to-kitchen.windows.yml
ci(windows): use `kitchen.windows.yml`
3 years ago
semantic-release-bot
c6043fbc9d
ci(windows): use `kitchen.windows.yml`
3 years ago
Imran Iqbal
c38bb77b31
chore(yamllint): add `.git/` to ignores [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/297
3 years ago
semantic-release-bot
8c5bf2f9d9
chore(release): 1.8.0 [skip ci]
# [1.8.0](https://github.com/saltstack-formulas/salt-formula/compare/v1.7.5...v1.8.0 ) (2021-03-03)
### Features
* allow selecting alternate salt package repositories ([8742ab3
](8742ab30bb
))
### Tests
* **debian+ubuntu:** update `pkgrepo` to use `https` instead of `http` ([e94a8c9
](e94a8c9dce
))
3 years ago
Imran Iqbal
d35f43bb8e
Merge pull request #498 from major0/feat/select_salt_repo_url
feat: allow selecting alternate salt package repositories
3 years ago
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:/"
```
3 years ago
Mark Ferrell
8742ab30bb
feat: allow selecting alternate salt package repositories
Make the upstream salt package repository selectable, thus allowing the
use of archived salt versions (hosted in
https://archive.repo.saltproject.io ), as well as custom salt versions
hosted in alternate repositories.
3 years ago
semantic-release-bot
b854b904cc
chore(release): 1.7.5 [skip ci]
## [1.7.5](https://github.com/saltstack-formulas/salt-formula/compare/v1.7.4...v1.7.5 ) (2021-03-02)
### Bug Fixes
* revert to using `is mapping` in Jinja2 ([a89fb3f
](a89fb3f4aa
))
### Continuous Integration
* **gemfile+lock:** use `ssf` customised `kitchen-docker` repo [skip ci] ([25fea89
](25fea89238
))
* **kitchen+gitlab-ci:** use latest pre-salted images [skip ci] ([fb9901e
](fb9901e3ac
))
* **pre-commit:** update hook for `rubocop` [skip ci] ([a874a76
](a874a76967
))
3 years ago
Imran Iqbal
840624f2e3
Merge pull request #497 from dafyddj/fix/is-mapping-v3002.5
fix: revert to using `is mapping` in Jinja2
3 years ago
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
3 years ago
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
3 years ago