Sergio Lystopad
d22315fbb9
Create all chains before any rules
If some rules references other chains that are not yet present
state fails. Make sure all chains are created before any rules by
configuring requirement constraint.
Change-Id: Iaf506919f330ff962891baab8132c3b46c49a47c
Closes-Bug: PROD-18821
6 anni fa
Dzmitry Stremkouski
c01bfc9661
Unsafe grains call in iptables formula fix
state iptables.rules may fail if grains_yaml is None
Change-Id: Ibd59c33345f1af97267a7632d3e5b64d885c41e8
6 anni fa
Petr Michalec
33df4d643a
Merge "Use new image for kitchen tests"
6 anni fa
Martin Polreich
7b1db85555
Use new image for kitchen tests
Change-Id: Iba7d940b7d909b8f70fe6b7490ce5149ad3cdbb4
6 anni fa
Filip Pytloun
e4ab920a0c
Update Makefile
6 anni fa
Jakub Josef
d1e9ae8d50
Fixed shebang kernel limitation with virtualenv during test run ( https://github.com/pypa/virtualenv/issues/596 )
Change-Id: I268199df924a742f14d1c965b96eb7c5ef30d70a
6 anni fa
Filip Pytloun
6ea72ab16c
Merge "Remove salt-master, reclass from pkg dependencis"
6 anni fa
Petr Michalec
d2b9d4165e
Merge "Optimize kitchen tests for Travis CI"
6 anni fa
Petr Michalec
e93b4732b4
Remove salt-master, reclass from pkg dependencis
Change-Id: Ifd4fe5d0fa70a891169c7214c24f1d8b80bfc039
6 anni fa
Martin Polreich
9c7f975282
Optimize kitchen tests for Travis CI
Change-Id: Ie0cacec0eb6c69349db7a12a0a79965c6069ae7c
6 anni fa
Jakub Josef
8227efbf22
Fixed typo in run_tests.sh file
Change-Id: I8e14a443b25155465efcec80f6568d7c5a717c2b
7 anni fa
Piotr Pieprzycki
7df3a168f8
Pillar that cointains string variables throw jinja error ( #15 )
* change file mode to 644
* change file mode to 644
* Fix problem with stringvariable in pillar
7 anni fa
Piotr Pieprzycki
63f4e9bdfc
Changed file permissions - fix ( #14 )
* change file mode to 644
* change file mode to 644
7 anni fa
Filip Pytloun
2a8f4002c7
Merge pull request #13 from ppieprzycki/master
New parameters
7 anni fa
Piotr Pieprzycki
91ac149b2b
added README example
7 anni fa
Piotr Pieprzycki
166f97e199
new parameters allowed in pillar
7 anni fa
Dmitry Stremkouski
afb406c73f
Adding comment option to iptables rule
Change-Id: I9d93052cfc197a364b42240448344d5543e8805f
7 anni fa
Martin Polreich
df842db008
Fix name in .kitchen.travis.yml file
Change-Id: I07d6d020f629c9c34bb31e5ed81654b528fe3fcc
7 anni fa
Martin Polreich
0278d2572f
Update .travis.yml and .kitchen.yml files for parallel testing
Change-Id: I9f1df379fbceab316598ad1f683c0b516aa2cff6
7 anni fa
Dennis Dmitriev
ba33a7e003
Update run_tests.sh to the latest revision
Change-Id: I93c3c26a65a233ea0b3854e98efa04df02028858
7 anni fa
Michel Nederlof
dd2d4cfe84
Allow custom chains to be present ( #12 )
* Allow custom chains to be present, other than the INPUT, FORWARD, OUTPUT default chains.
* Adding missing endif
* Require the packages to be installed first.
* Test should use rules as key, not rule.
* Making it a array list, instead of a dict.
* convert rules to a list instead of a dict.
* Only if policy is defined, include this statement.
* Only ensure chains if not container :)
* The chain is only ensured if we are not a container.
* Do not run at all for containers.
7 anni fa
Filip Pytloun
2983e19198
Merge pull request #11 from Martin819/master
Update .travis.yml and notififcations
7 anni fa
Martin Polreich
b53b238af4
Update .travis.yml and notififcations
7 anni fa
Filip Pytloun
1a7868bfc8
Merge pull request #10 from nmadhok/patch-1
Correct parameters spelling
7 anni fa
Nitin Madhok
574663ad67
Correct parameters spelling
7 anni fa
Filip Pytloun
8530cf58a3
Merge pull request #9 from Martin819/master
Update Travis Notifications and disable sending email notifications
7 anni fa
Martin819
4cbbe3b028
Update Travis Notifications and disable sending email notifications
7 anni fa
Martin819
054f300a2b
add travis condition to only send notifications for master branch
7 anni fa
Filip Pytloun
7d221cdfa1
Merge pull request #7 from Martin819/master
Add travis condition to only send notifications for master branch [WIP]
7 anni fa
Martin819
e07d0a9bf7
add travis condition to only send notifications for master branch
7 anni fa
Martin819
12850467ee
Testing Travis Notifications - This should fail
7 anni fa
Filip Pytloun
b297b20c1b
Merge pull request #5 from Martin819/master
show 'make test' errors in Travis
7 anni fa
Martin819
fe6e787ab2
added travis notifications
7 anni fa
Martin819
f7613e483c
show 'make test' errors in Travis
7 anni fa
Filip Pytloun
9de11c6172
Merge pull request #4 from Martin819/master
Added Kitchen tests and Travis
7 anni fa
Martin819
1d6f0a8182
Added Kitchen tests and Travis
7 anni fa
Dennis van Dok
3bee76dcd6
add the option to specify the family per rule to support ipv6 ( #3 )
Closes : #2
* add the option to specify the family per rule to support ipv6
* include policy updates for ipv6
* update documentation to mention ipv6
* Make ipv6 optional; remove spurious tabs from the readme.
* set ipv6 policies only if ipv6 is enabled on the host and not explicitly turned off for this service
7 anni fa
Filip Pytloun
b817b3596f
Unify Makefile, .gitignore and update readme
7 anni fa
Filip Pytloun
23030090ac
Fix service name for xenial and newer distributions using netfilter
7 anni fa
Filip Pytloun
6006256763
Fix documentation, remove obsolete
8 anni fa
Filip Pytloun
9540426989
Allow using to-port option
8 anni fa
Filip Pytloun
b76b411057
Fix source dependency parsing
8 anni fa
Filip Pytloun
4fcf9fee58
Add missing Makefile
8 anni fa
Filip Pytloun
1915fd0009
Fix tests dependency fetch
8 anni fa
Filip Pytloun
0d973d9a8e
Add salt-master into build depends
8 anni fa
Filip Pytloun
9154b6ba90
Add makefile, run tests during package build
8 anni fa
Filip Pytloun
8e8389246f
Allow setting iptables by support metadata
8 anni fa
Filip Pytloun
cb65f8a096
Refactor to allow both explicit position and append
8 anni fa
Filip Pytloun
bd5d136886
Fix iptables insert vs. append, enhance iptables disabling
8 anni fa
Filip Pytloun
21c93fb4e5
Don't set policy if rules failed
8 anni fa