Nicolas Rodriguez
c953630e5f
fix(service): don't reload ufw service if service is disabled
4 lat temu
Imran Iqbal
830b8fe059
style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
4 lat temu
Imran Iqbal
dd90c917ce
chore(gemfile.lock): update to latest gem versions (2020-W27) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/235
4 lat temu
Imran Iqbal
ed907da418
chore(gemfile.lock): update to latest gem versions (2020-W26) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/233
4 lat temu
Imran Iqbal
bb719b325c
chore(gemfile.lock): update to latest gem versions (2020-W25) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/229
4 lat temu
Imran Iqbal
ffeed19c39
ci(kitchen): use `saltimages` Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
4 lat temu
Imran Iqbal
d876302e28
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
4 lat temu
Imran Iqbal
604d53dba6
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
4 lat temu
semantic-release-bot
f146982bba
chore(release): 0.5.4 [skip ci]
## [0.5.4](https://github.com/saltstack-formulas/ufw-formula/compare/v0.5.3...v0.5.4 ) (2020-05-30)
### Bug Fixes
* **debian:** avoid `python-ufw` installation (`py2`-only) ([a636ee5
](a636ee5406
)), closes [#19 ](https://github.com/saltstack-formulas/ufw-formula/issues/19 )
* **install:** use EPEL repo for `amazonlinux-2` ([481c897
](481c8973f7
))
* **libtofs:** “files_switch” mess up the variable exported by “map.jinja” [skip ci] ([f4fcf99
](f4fcf99274
))
* **release.config.js:** use full commit hash in commit link [skip ci] ([54ad9df
](54ad9dfe58
))
### Continuous Integration
* **gemfile:** restrict `train` gem version until upstream fix [skip ci] ([a6151e9
](a6151e96ee
))
* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([95f6515
](95f651535e
))
* **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([caf6a71
](caf6a713cc
))
* **kitchen:** use `debian-10-master-py3` instead of `develop` [skip ci] ([207b8b8
](207b8b806e
))
* **kitchen:** use `develop` image until `master` is ready (`amazonlinux`) [skip ci] ([f37a77c
](f37a77c706
))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([9ae4f31
](9ae4f31b88
))
* **kitchen+travis:** upgrade matrix after `2019.2.2` release [skip ci] ([2f912e2
](2f912e201c
))
* **kitchen+travis:** use latest pre-salted images ([0df4fe4
](0df4fe4cfb
))
* **travis:** add notifications => zulip [skip ci] ([d47a1b7
](d47a1b7f71
))
* **travis:** apply changes from build config validation [skip ci] ([1276ce2
](1276ce2411
))
* **travis:** opt-in to `dpl v2` to complete build config validation [skip ci] ([106d528
](106d5283f2
))
* **travis:** quote pathspecs used with `git ls-files` [skip ci] ([0b8193f
](0b8193fd5a
))
* **travis:** run `shellcheck` during lint job [skip ci] ([b998454
](b998454cc4
))
* **travis:** update `salt-lint` config for `v0.0.10` [skip ci] ([95e8baa
](95e8baa9db
))
* **travis:** use `major.minor` for `semantic-release` version [skip ci] ([d83a85b
](d83a85be95
))
* **travis:** use build config validation (beta) [skip ci] ([9cf6cf3
](9cf6cf350e
))
* **workflows/commitlint:** add to repo [skip ci] ([6341977
](63419772eb
))
### Performance Improvements
* **travis:** improve `salt-lint` invocation [skip ci] ([510b016
](510b0169da
))
### Tests
* **without-ipv6:** add test pillar for suite ([6047fbf
](6047fbfc4c
))
4 lat temu
Imran Iqbal
93cedac856
Merge pull request #21 from myii/chore/standardise-structure
fix: debian (avoid `python-ufw`), `amazonlinux-2` & use new pre-salted images
4 lat temu
Imran Iqbal
0df4fe4cfb
ci(kitchen+travis): use latest pre-salted images
* Automated using https://github.com/myii/ssf-formula/pull/207
* Use `bionic` for Travis (also no longer need to use `pip3`)
* Add `without-ipv6` suite, to avoid errors with `ip6tables` such as:
```
[ERROR ] stdout: ERROR: initcaps
[Errno 2] ip6tables v1.8.4 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
```
4 lat temu
Imran Iqbal
6047fbfc4c
test(without-ipv6): add test pillar for suite
4 lat temu
Imran Iqbal
481c8973f7
fix(install): use EPEL repo for `amazonlinux-2`
4 lat temu
Imran Iqbal
a636ee5406
fix(debian): avoid `python-ufw` installation (`py2`-only)
* Fix #19
4 lat temu
Imran Iqbal
2dde2b1ac7
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
4 lat temu
Imran Iqbal
d47a1b7f71
ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
4 lat temu
Imran Iqbal
531404c334
chore(codeowners): update `semantic-release` related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
4 lat temu
Imran Iqbal
ffb0e25cf2
chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
4 lat temu
Imran Iqbal
63419772eb
ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
4 lat temu
Imran Iqbal
9ae4f31b88
ci(kitchen+travis): remove `master-py2-arch-base-latest` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/167
4 lat temu
Imran Iqbal
95f651535e
ci(gemfile.lock): add to repo with updated `Gemfile` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/163
4 lat temu
Imran Iqbal
b95aae9baf
chore(rubocop): use org-wide standard settings for `Metrics/BlockLength` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/158
4 lat temu
Imran Iqbal
e56151af0b
chore(gitignore): update from the `template-formula` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/132
4 lat temu
Imran Iqbal
f4fcf99274
fix(libtofs): “files_switch” mess up the variable exported by “map.jinja” [skip ci]
* Checked using https://github.com/myii/ssf-formula/pull/131
4 lat temu
Imran Iqbal
35df6c9076
chore(rubocop): move `LineLength` cop from `Metrics` to `Layout` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/129
4 lat temu
Imran Iqbal
caf6a713cc
ci(kitchen): avoid using bootstrap for `master` instances [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/124
4 lat temu
Imran Iqbal
d83a85be95
ci(travis): use `major.minor` for `semantic-release` version [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/112
5 lat temu
Imran Iqbal
a6151e96ee
ci(gemfile): restrict `train` gem version until upstream fix [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/110
5 lat temu
Imran Iqbal
0b8193fd5a
ci(travis): quote pathspecs used with `git ls-files` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/107
5 lat temu
Imran Iqbal
b998454cc4
ci(travis): run `shellcheck` during lint job [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/106
5 lat temu
Imran Iqbal
106d5283f2
ci(travis): opt-in to `dpl v2` to complete build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/100
5 lat temu
Imran Iqbal
1276ce2411
ci(travis): apply changes from build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/98
5 lat temu
Imran Iqbal
9cf6cf350e
ci(travis): use build config validation (beta) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/97
5 lat temu
Imran Iqbal
f37a77c706
ci(kitchen): use `develop` image until `master` is ready (`amazonlinux`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/93
5 lat temu
Imran Iqbal
510b0169da
perf(travis): improve `salt-lint` invocation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/90
5 lat temu
Imran Iqbal
2f912e201c
ci(kitchen+travis): upgrade matrix after `2019.2.2` release [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/86
5 lat temu
Imran Iqbal
54ad9dfe58
fix(release.config.js): use full commit hash in commit link [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/89
5 lat temu
Imran Iqbal
207b8b806e
ci(kitchen): use `debian-10-master-py3` instead of `develop` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/84
5 lat temu
Imran Iqbal
95e8baa9db
ci(travis): update `salt-lint` config for `v0.0.10` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/82
5 lat temu
semantic-release-bot
5b88c1bff4
chore(release): 0.5.3 [skip ci]
## [0.5.3](https://github.com/saltstack-formulas/ufw-formula/compare/v0.5.2...v0.5.3 ) (2019-10-19)
### Continuous Integration
* **travis:** remove `PyYAML` workaround since fixed in `salt-lint` v0.0.9 ([](https://github.com/saltstack-formulas/ufw-formula/commit/698dad8 ))
### Documentation
* **contributing:** remove to use org-level file instead [skip ci] ([](https://github.com/saltstack-formulas/ufw-formula/commit/7dd4dc2 ))
* **readme:** update link to `CONTRIBUTING` [skip ci] ([](https://github.com/saltstack-formulas/ufw-formula/commit/374f48a ))
5 lat temu
Imran Iqbal
698dad815f
ci(travis): remove `PyYAML` workaround since fixed in `salt-lint` v0.0.9
* Automated using https://github.com/myii/ssf-formula/pull/80
5 lat temu
Imran Iqbal
7dd4dc23f2
docs(contributing): remove to use org-level file instead [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/70
5 lat temu
Imran Iqbal
374f48aa38
docs(readme): update link to `CONTRIBUTING` [skip ci]
5 lat temu
Imran Iqbal
da6c0cad6a
chore(issues): remove issues templates to use org-level templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/61
5 lat temu
semantic-release-bot
34a4fb332c
chore(release): 0.5.2 [skip ci]
## [0.5.2](https://github.com/saltstack-formulas/ufw-formula/compare/v0.5.1...v0.5.2 ) (2019-10-10)
### Bug Fixes
* **applications.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/ufw-formula/commit/71eed47 ))
* **interfaces.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/ufw-formula/commit/0c9440e ))
* **open.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/ufw-formula/commit/c8b314b ))
* **services.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/ufw-formula/commit/afddcf6 ))
### Continuous Integration
* **kitchen:** change `log_level` to `debug` instead of `info` ([](https://github.com/saltstack-formulas/ufw-formula/commit/6559317 ))
* **kitchen:** install required packages to bootstrapped `opensuse` [skip ci] ([](https://github.com/saltstack-formulas/ufw-formula/commit/6359ebf ))
* **kitchen:** use bootstrapped `opensuse` images until `2019.2.2` [skip ci] ([](https://github.com/saltstack-formulas/ufw-formula/commit/b057510 ))
* **kitchen+travis:** apply `opensuse-leap-15` SCP error workaround ([](https://github.com/saltstack-formulas/ufw-formula/commit/693b3c0 ))
* **kitchen+travis:** replace EOL pre-salted images ([](https://github.com/saltstack-formulas/ufw-formula/commit/5871288 ))
* **platform:** add `arch-base-latest` ([](https://github.com/saltstack-formulas/ufw-formula/commit/56f8336 ))
* **yamllint:** add rule `empty-values` & use new `yaml-files` setting ([](https://github.com/saltstack-formulas/ufw-formula/commit/bd53ce3 ))
* merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([](https://github.com/saltstack-formulas/ufw-formula/commit/7b1b3c9 ))
5 lat temu
Imran Iqbal
51fc6de809
Merge pull request #18 from myii/ci/merge-matrix-and-add-salt-lint-and-rubocop
ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
5 lat temu
Imran Iqbal
7b1b3c967b
ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
* Semi-automated using https://github.com/myii/ssf-formula/pull/60
5 lat temu
Imran Iqbal
afddcf6fa8
fix(services.sls): fix `salt-lint` errors
```bash
Examining ufw/config/services.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/services.sls:32
ufw-svc-{{method}}-{{service_name}}-{{from_addr}}:
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/services.sls:33
ufw.{{method}}:
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/services.sls:35
- protocol: {{protocol}}
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/services.sls:38
- from_addr: {{from_addr}}
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/services.sls:41
- from_port: "{{from_port}}"
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/services.sls:44
- to_addr: {{to_addr}}
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/services.sls:49
- comment: '"{{comment}}"'
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/services.sls:51
- to_port: "{{to_port}}"
```
5 lat temu
Imran Iqbal
c8b314bac8
fix(open.sls): fix `salt-lint` errors
```bash
Examining ufw/config/open.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/open.sls:20
ufw-open-{{open_addr}}:
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/open.sls:22
- from_addr: {{open_addr}}
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/open.sls:24
- comment: '"{{comment}}"'
```
5 lat temu
Imran Iqbal
0c9440e4cd
fix(interfaces.sls): fix `salt-lint` errors
```bash
Examining ufw/config/interfaces.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/interfaces.sls:20
ufw-interface-{{interface_name}}:
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/interfaces.sls:22
- interface: {{interface_name}}
[206] Jinja variables should have spaces before and after: {{ var_name }}
ufw/config/interfaces.sls:24
- comment: '"{{comment}}"'
```
5 lat temu