Imran Iqbal
38eb4dc325
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
pillar.example
1:1 warning missing document start "---" (document-start)
3:12 warning truthy value should be one of [false, true] (truthy)
7:11 warning truthy value should be one of [false, true] (truthy)
12:22 warning truthy value should be one of [false, true] (truthy)
64:13 warning truthy value should be one of [false, true] (truthy)
69:13 warning truthy value should be one of [false, true] (truthy)
77:13 warning truthy value should be one of [false, true] (truthy)
84:14 warning truthy value should be one of [false, true] (truthy)
101:16 warning truthy value should be one of [false, true] (truthy)
106:14 warning truthy value should be one of [false, true] (truthy)
110:13 warning truthy value should be one of [false, true] (truthy)
test/salt/pillar/default.sls
1:1 warning missing document start "---" (document-start)
2:12 warning truthy value should be one of [false, true] (truthy)
9:14 warning truthy value should be one of [false, true] (truthy)
12:13 warning truthy value should be one of [false, true] (truthy)
15:13 warning truthy value should be one of [false, true] (truthy)
19:13 warning truthy value should be one of [false, true] (truthy)
25:14 warning truthy value should be one of [false, true] (truthy)
29:13 warning truthy value should be one of [false, true] (truthy)
```
5 vuotta sitten
Niels Abspoel
404735d584
Merge pull request #11 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
5 vuotta sitten
Imran Iqbal
1d3c906f39
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.2)
5 vuotta sitten
Niels Abspoel
9bb5aa2cc5
Merge pull request #10 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
5 vuotta sitten
Imran Iqbal
33ced66a0d
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
5 vuotta sitten
semantic-release-bot
a6ab292b40
chore(release): 0.4.1 [skip ci]
## [0.4.1](https://github.com/saltstack-formulas/ufw-formula/compare/v0.4.0...v0.4.1 ) (2019-07-13)
### Code Refactoring
* **kitchen+inspec:** move inline pillar to file ([0005375
](https://github.com/saltstack-formulas/ufw-formula/commit/0005375 ))
### Continuous Integration
* **kitchen+travis:** modify matrix to include `develop` platform ([8699e9d
](https://github.com/saltstack-formulas/ufw-formula/commit/8699e9d ))
5 vuotta sitten
Imran Iqbal
67eb6d0522
Merge pull request #9 from myii/ci/replace-eol-pre-salted-images
refactor(kitchen+inspec): move inline pillar to file
5 vuotta sitten
Imran Iqbal
00053754b4
refactor(kitchen+inspec): move inline pillar to file
5 vuotta sitten
Imran Iqbal
d623d7c385
Merge pull request #8 from myii/ci/use-develop-image-in-matrix
ci(kitchen+travis): modify matrix to include `develop` platform
5 vuotta sitten
Imran Iqbal
8699e9d84a
ci(kitchen+travis): modify matrix to include `develop` platform
* Use balanced matrix based on `template-formula` guidelines
* Initial ref: https://github.com/saltstack-formulas/template-formula/issues/118
5 vuotta sitten
semantic-release-bot
c3ec70e1d3
chore(release): 0.4.0 [skip ci]
# [0.4.0](https://github.com/saltstack-formulas/ufw-formula/compare/v0.3.0...v0.4.0 ) (2019-05-21)
### Continuous Integration
* **kitchen+travis:** test with pre-salted Docker images ([f27ec2e
](https://github.com/saltstack-formulas/ufw-formula/commit/f27ec2e ))
### Features
* **tofs:** switch to tofs ([c05019a
](https://github.com/saltstack-formulas/ufw-formula/commit/c05019a ))
5 vuotta sitten
Imran Iqbal
4a9b7e70e6
Merge pull request #7 from n-rodriguez/wip/ci
Add tofs, use pre-salted images
5 vuotta sitten
Nicolas Rodriguez
f27ec2e262
ci(kitchen+travis): test with pre-salted Docker images
5 vuotta sitten
Nicolas Rodriguez
c05019a877
feat(tofs): switch to tofs
5 vuotta sitten
semantic-release-bot
16169a5cf7
chore(release): 0.3.0 [skip ci]
# [0.3.0](https://github.com/saltstack-formulas/ufw-formula/compare/v0.2.0...v0.3.0 ) (2019-05-14)
### Continuous Integration
* **kitchen:** rename Kitchen config file ([2e59df4
](https://github.com/saltstack-formulas/ufw-formula/commit/2e59df4 ))
### Features
* **semantic-release:** implement an automated changelog ([f25b404
](https://github.com/saltstack-formulas/ufw-formula/commit/f25b404 ))
5 vuotta sitten
Imran Iqbal
7d4a642147
Merge pull request #6 from n-rodriguez/wip/ci
feat(semantic-release): implement an automated changelog
5 vuotta sitten
Nicolas Rodriguez
f25b404114
feat(semantic-release): implement an automated changelog
5 vuotta sitten
Nicolas Rodriguez
2e59df4537
ci(kitchen): rename Kitchen config file
5 vuotta sitten
Nicolas Rodriguez
1ba6c9b615
Update Travis badge
6 vuotta sitten
Nicolas Rodriguez
6e781345b9
Fix tests
6 vuotta sitten
Niels Abspoel
46bc8fa023
Merge pull request #3 from phoerious/master
Allow multiple configurations for the same port
6 vuotta sitten
Janek Bevendorff
bd2315ccda
Update README and pillar.example with new to_port property
6 vuotta sitten
Janek Bevendorff
9e950edaa0
Allow multiple configurations for the same port
6 vuotta sitten
Niels Abspoel
58cadbe60d
Merge pull request #2 from aanriot/master
Also perform tests on bionic/18.04
6 vuotta sitten
Alexandre Anriot
9ea4053628
Also perform tests on bionic/18.04
6 vuotta sitten
Niels Abspoel
b5ce18c853
Merge pull request #1 from magfest/master
Adds ability to limit or deny services and applications.
6 vuotta sitten
Rob Ruana
dd1c4b34a5
Adds "Rule inserted" validation
6 vuotta sitten
Rob Ruana
62fbb150de
Inserts deny rules first, to ensure they take precedence
6 vuotta sitten
Rob Ruana
db977aaf6d
Adds ability to limit or deny services and applications.
The "limit" and "deny" parameters have been added to both the services and
applications sections. Setting "limit: True" will use the "ufw limit" command
instead of "ufw allow". Likewise, setting "deny: True" will use the "ufw deny"
command.
6 vuotta sitten
Alexandre Anriot
67467e9d66
Add badge
6 vuotta sitten
Alexandre Anriot
c350b4a1da
Add travis config
6 vuotta sitten
Alexandre Anriot
b749509eb1
Add kitchen tests
6 vuotta sitten
Alexandre Anriot
58bdf446e6
Fix rules logic
6 vuotta sitten
Alexandre Anriot
455e28a128
Spacing
6 vuotta sitten
Alexandre Anriot
79fad6f179
Update Authors
6 vuotta sitten
Alexandre Anriot
38e788ceb5
Handle loglevel
6 vuotta sitten
Alexandre Anriot
c60bc71357
Handle test mode when enabling ufw
6 vuotta sitten
Alexandre Anriot
fcc8a36a4c
Handle test mode when adding rules
6 vuotta sitten
Alexandre Anriot
14fe79bf14
Cleaning
6 vuotta sitten
Mark Gomersbach
feeca63dbd
Added support for comments in all forms and added in example.
7 vuotta sitten
Mark Gomersbach
c981c52535
...and pillar file
7 vuotta sitten
Mark Gomersbach
6fdd5c2cff
Added support for other OS naming schemes
7 vuotta sitten
Niels Abspoel
0d227ae03c
fix ufw-formula
8 vuotta sitten
Niels Abspoel
b3267bd1d6
update ufw-formula improve reload function
8 vuotta sitten
Sebastiaan Tesink
ece4926b5f
rearrange with test
8 vuotta sitten
Niels Abspoel
fdebd369b9
add webscale changes
8 vuotta sitten
Mike Campbell
e3cace7a49
Return host if it's an ip ..
8 vuotta sitten
Mike Campbell
7490f9b9a0
import re, don't pass through None protocol & fix completely broken ip regex
8 vuotta sitten
Mike Campbell
75c230131d
Bugfix in state
8 vuotta sitten
Mike Campbell
26d00d8f89
Added support for 'ufw allow from <ip> to any' & ufw defaults
8 vuotta sitten