Dafydd Jones
acfabec326
chore(shellcheck): switch hook for `shellcheck` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/295
3 år sedan
Imran Iqbal
a2bcd11c4c
ci(gemfile+lock): use `ssf` customised `kitchen-docker` repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/294
3 år sedan
Imran Iqbal
0bb7751957
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
3 år sedan
Imran Iqbal
b9d8775937
test(_mapdata): add verification files for new platforms
* `fedora-33`
* `opensuse-tumbleweed`
* `oraclelinux-7`
* `oraclelinux-8`
3 år sedan
Imran Iqbal
08ab3568f0
chore: standardise structure (`.gitignore` & `_mapdata.rb`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
3 år sedan
semantic-release-bot
4c5d17ac46
chore(release): 1.2.0 [skip ci]
# [1.2.0](https://github.com/saltstack-formulas/firewalld-formula/compare/v1.1.2...v1.2.0 ) (2021-02-05)
### Continuous Integration
* **pre-commit:** update hook for `rubocop` [skip ci] ([a649d87
](a649d8763c
))
### Features
* **pillar.example,test/:** add example and test for richrule ratelimit ([f258526
](f25852637a
))
* **zone.xml:** allow to rate limit 'accept' in rich rules ([a2f4f3b
](a2f4f3b36e
))
### Tests
* **share:** standardise with latest changes [skip ci] ([7df88b9
](7df88b9e89
))
3 år sedan
Imran Iqbal
44d039e7c4
Merge pull request #47 from apatard/master
feat(zone.xml): Allow to rate limit 'accept' in rich rules
3 år sedan
Imran Iqbal
a649d8763c
ci(pre-commit): update hook for `rubocop` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/290
3 år sedan
Imran Iqbal
7df88b9e89
test(share): standardise with latest changes [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/288
3 år sedan
Arnaud Patard
f25852637a
feat(pillar.example,test/): add example and test for richrule ratelimit
Document and test the accept rate limiting of the rich rule.
Signed-off-by: Arnaud Patard <apatard@hupstream.com>
3 år sedan
Arnaud Patard
a2f4f3b36e
feat(zone.xml): allow to rate limit 'accept' in rich rules
The current rich_rule macro is supporting to set if the connection
should be accepted or rejected or dropped but doesn't support setting
rate limiting in the 'accept' case. Add code for that.
Signed-off-by: Arnaud Patard <apatard@hupstream.com>
3 år sedan
semantic-release-bot
4d797fc01e
chore(release): 1.1.2 [skip ci]
## [1.1.2](https://github.com/saltstack-formulas/firewalld-formula/compare/v1.1.1...v1.1.2 ) (2021-01-14)
### Bug Fixes
* **_mapdata:** ensure map data is directly under `values` ([a29e81b
](a29e81bac6
))
### Tests
* **_mapdata:** update for `_mapdata/init.sls` change ([a647d6d
](a647d6d9a3
))
3 år sedan
Daniel
fbcb655e09
Merge pull request #48 from myii/fix/ensure-map-data-directly-under-values
fix(_mapdata): ensure map data is directly under `values`
3 år sedan
Imran Iqbal
a647d6d9a3
test(_mapdata): update for `_mapdata/init.sls` change
3 år sedan
Daniel Dehennin
a29e81bac6
fix(_mapdata): ensure map data is directly under `values`
* Semi-automated using https://github.com/myii/ssf-formula/pull/287
3 år sedan
semantic-release-bot
87df82dc79
chore(release): 1.1.1 [skip ci]
## [1.1.1](https://github.com/saltstack-formulas/firewalld-formula/compare/v1.1.0...v1.1.1 ) (2020-12-27)
### Continuous Integration
* **commitlint:** ensure `upstream/master` uses main repo URL [skip ci] ([a615af1
](a615af103e
))
* **gitlab-ci:** add `rubocop` linter (with `allow_failure`) [skip ci] ([472a16c
](472a16c283
))
* **gitlab-ci:** use GitLab CI as Travis CI replacement ([a88d749
](a88d749499
))
### Tests
* **_mapdata:** generate verification files ([7665d77
](7665d77f67
))
* **map:** verify `map.jinja` dump using `_mapdata` state ([22869e0
](22869e0c7f
))
3 år sedan
Imran Iqbal
0def96f632
Merge pull request #46 from myii/test/manage-map.jinja-verification
test(map): verify `map.jinja` dump using `_mapdata` state
3 år sedan
Imran Iqbal
7665d77f67
test(_mapdata): generate verification files
3 år sedan
Imran Iqbal
22869e0c7f
test(map): verify `map.jinja` dump using `_mapdata` state
* Semi-automated using https://github.com/myii/ssf-formula/pull/286
3 år sedan
Imran Iqbal
a615af103e
ci(commitlint): ensure `upstream/master` uses main repo URL [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/278
3 år sedan
Imran Iqbal
472a16c283
ci(gitlab-ci): add `rubocop` linter (with `allow_failure`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/277
4 år sedan
Imran Iqbal
a88d749499
ci(gitlab-ci): use GitLab CI as Travis CI replacement
* Automated using https://github.com/myii/ssf-formula/pull/275
4 år sedan
Imran Iqbal
ba2ef4455d
chore(gemfile+lock): update to latest gem versions (2020-W44) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/274
4 år sedan
semantic-release-bot
fd556534e5
chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/saltstack-formulas/firewalld-formula/compare/v1.0.0...v1.1.0 ) (2020-10-24)
### Continuous Integration
* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([7a964e4
](7a964e4738
))
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([a33cd64
](a33cd641e2
))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([24e115c
](24e115cacb
))
* **pre-commit:** add to formula [skip ci] ([9254027
](9254027396
))
* **pre-commit:** enable/disable `rstcheck` as relevant [skip ci] ([c7e4dee
](c7e4dee62a
))
* **pre-commit:** finalise `rstcheck` configuration [skip ci] ([118eacf
](118eacff45
))
* **travis:** add notifications => zulip [skip ci] ([b6c60b2
](b6c60b27b9
))
* **workflows/commitlint:** add to repo [skip ci] ([93853b6
](93853b643f
))
### Features
* **firewalld.conf:** support configuration of `AllowZoneDrifting` ([0ff53ff
](0ff53ffb27
)), closes [#44 ](https://github.com/saltstack-formulas/firewalld-formula/issues/44 )
4 år sedan
Imran Iqbal
cb01f13091
Merge pull request #45 from myii/feat/support-AllowZoneDrifting
feat(firewalld.conf): support configuration of `AllowZoneDrifting`
4 år sedan
Imran Iqbal
0ff53ffb27
feat(firewalld.conf): support configuration of `AllowZoneDrifting`
Close #44 .
Configuration description taken from:
* https://firewalld.org/documentation/man-pages/firewalld.conf.html
4 år sedan
Imran Iqbal
d32059bd2b
chore(gemfile+lock): update to latest gem versions (2020-W43) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/273
4 år sedan
Imran Iqbal
118eacff45
ci(pre-commit): finalise `rstcheck` configuration [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/267
4 år sedan
Dafydd Jones
90cf74209a
chore(commitlint): add `{body,footer,header}-max(-line)-length` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/265
4 år sedan
Imran Iqbal
662630d5aa
chore(gemfile+lock): update to latest gem versions (2020-W41) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/263
4 år sedan
Imran Iqbal
c7e4dee62a
ci(pre-commit): enable/disable `rstcheck` as relevant [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/262
4 år sedan
Dafydd Jones
9254027396
ci(pre-commit): add to formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/259
4 år sedan
Imran Iqbal
0e7f431952
chore(gemfile.lock): update to latest gem versions (2020-W27) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/235
4 år sedan
Imran Iqbal
515b3a8a40
chore(gemfile.lock): update to latest gem versions (2020-W26) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/233
4 år sedan
Imran Iqbal
e7dcb91931
chore(gemfile.lock): update to latest gem versions (2020-W25) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/229
4 år sedan
Imran Iqbal
a33cd641e2
ci(kitchen): use `saltimages` Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
4 år sedan
Imran Iqbal
ff53511110
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
4 år sedan
Imran Iqbal
642d4606d8
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
4 år sedan
Imran Iqbal
0d2c0a7700
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
4 år sedan
Imran Iqbal
b6c60b27b9
ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
4 år sedan
Imran Iqbal
6fa7f7a09d
chore(codeowners): update `semantic-release` related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
4 år sedan
Imran Iqbal
183b48a248
chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
4 år sedan
Imran Iqbal
93853b643f
ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
4 år sedan
Imran Iqbal
24e115cacb
ci(kitchen+travis): remove `master-py2-arch-base-latest` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/167
4 år sedan
Imran Iqbal
7a964e4738
ci(gemfile.lock): add to repo with updated `Gemfile` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/163
4 år sedan
semantic-release-bot
ad932260f0
chore(release): 1.0.0 [skip ci]
# [1.0.0](https://github.com/saltstack-formulas/firewalld-formula/compare/v0.10.1...v1.0.0 ) (2020-04-18)
### Bug Fixes
* do not error on unknown os_family grain ([94d2b0b
](94d2b0b97c
))
### Code Refactoring
* split default maps into separate files ([afcf5e7
](afcf5e7700
))
### Tests
* **yaml_dump_spec:** update after splitting `map.jinja` ([d1f7a37
](d1f7a37171
))
### BREAKING CHANGES
* `map.jinja` has been upgraded from using `pillar.get`
to `config.get`.
4 år sedan
Imran Iqbal
fdd3dfbc62
Merge pull request #41 from Sxderp/pr-fix-unknown-os-family
fix: do not error on unknown os_family grain
4 år sedan
Imran Iqbal
d1f7a37171
test(yaml_dump_spec): update after splitting `map.jinja`
4 år sedan
Steven Daniele
afcf5e7700
refactor: split default maps into separate files
While the default maps are mostly empty this sets the groundwork for
distribution specific defaults. The layout is based on the formula
template.
BREAKING CHANGE: `map.jinja` has been upgraded from using `pillar.get`
to `config.get`.
4 år sedan
Steven Daniele
94d2b0b97c
fix: do not error on unknown os_family grain
If the formula was ran on a system that reported an os_family that
wasn't one of "Debian", "RedHat", "Arch", "Suse" then the map.jinja
template would fail to render with "'NoneType' is not iterable.
This occurs because grains.filter_by will return None when it fails
match the grain to the input dictionary. The value is then blindly
passed into a dict.update() which causes the failure.
In this patch we ensure that the default values, as defined in
defaults.yaml, are always applied when grain matching fails.
4 år sedan