Commit Graph

19 Commits

Author SHA1 Message Date
Imran Iqbal
291adbd997
test: standardise use of share suite & _mapdata state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
2021-03-23 21:26:54 +00:00
Daniel Dehennin
990970bd1a
chore(rubocop): allow use of YAML.load for _mapdata.rb [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/296
2021-02-23 21:46:28 +00:00
Imran Iqbal
0bb7751957
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
2021-02-17 12:00:10 +00:00
Imran Iqbal
b9d8775937
test(_mapdata): add verification files for new platforms
* `fedora-33`
* `opensuse-tumbleweed`
* `oraclelinux-7`
* `oraclelinux-8`
2021-02-17 11:52:34 +00:00
Imran Iqbal
08ab3568f0
chore: standardise structure (.gitignore & _mapdata.rb) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
2021-02-11 11:48:04 +00:00
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>
2021-01-21 12:02:41 +01:00
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>
2021-01-21 11:50:50 +01:00
Imran Iqbal
a647d6d9a3
test(_mapdata): update for _mapdata/init.sls change 2021-01-14 20:53:27 +00:00
Imran Iqbal
7665d77f67
test(_mapdata): generate verification files 2020-12-26 08:01:08 +00:00
Imran Iqbal
22869e0c7f
test(map): verify map.jinja dump using _mapdata state
* Semi-automated using https://github.com/myii/ssf-formula/pull/286
2020-12-26 08:00:04 +00:00
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
2020-10-24 07:09:06 +01:00
Imran Iqbal
d1f7a37171
test(yaml_dump_spec): update after splitting map.jinja 2020-04-18 15:54:16 +01:00
Imran Iqbal
69df9a62d6
test: verify map output using yaml_dump
* Semi-automated using https://github.com/myii/ssf-formula/pull/159
2020-04-18 15:29:52 +01:00
Imran Iqbal
6ebfc6f20c
test(zones_spec): check content of rendered zone files 2020-04-01 19:00:36 +01:00
Imran Iqbal
8136b75fa0
fix(rubocop): add fixes using rubocop --safe-auto-correct 2019-11-09 08:24:55 +00:00
Imran Iqbal
c5f114d886
feat(semantic-release): implement for this formula
* Automated using https://github.com/myii/ssf-formula/pull/95
2019-11-09 08:24:55 +00:00
Javier Bértoli
15a48462f0 Refactor backend format, add backward compatibility, simple pkg testing
See https://github.com/saltstack-formulas/firewalld-formula/pull/21#pullrequestreview-146958098
2018-08-25 19:00:11 -03:00
Javier Bértoli
b641216b8b Update testing environment 2018-08-25 16:08:24 -03:00
Adam Mendlik
112580daa1 Add basic test suite 2017-03-10 11:30:39 -07:00