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
hace 6 años
Dzmitry Stremkouski
c01bfc9661
Unsafe grains call in iptables formula fix
state iptables.rules may fail if grains_yaml is None
Change-Id: Ibd59c33345f1af97267a7632d3e5b64d885c41e8
hace 6 años
Petr Michalec
33df4d643a
Merge "Use new image for kitchen tests"
hace 6 años
Martin Polreich
7b1db85555
Use new image for kitchen tests
Change-Id: Iba7d940b7d909b8f70fe6b7490ce5149ad3cdbb4
hace 6 años
Filip Pytloun
e4ab920a0c
Update Makefile
hace 6 años
Jakub Josef
d1e9ae8d50
Fixed shebang kernel limitation with virtualenv during test run ( https://github.com/pypa/virtualenv/issues/596 )
Change-Id: I268199df924a742f14d1c965b96eb7c5ef30d70a
hace 6 años
Filip Pytloun
6ea72ab16c
Merge "Remove salt-master, reclass from pkg dependencis"
hace 6 años
Petr Michalec
d2b9d4165e
Merge "Optimize kitchen tests for Travis CI"
hace 6 años
Petr Michalec
e93b4732b4
Remove salt-master, reclass from pkg dependencis
Change-Id: Ifd4fe5d0fa70a891169c7214c24f1d8b80bfc039
hace 6 años
Martin Polreich
9c7f975282
Optimize kitchen tests for Travis CI
Change-Id: Ie0cacec0eb6c69349db7a12a0a79965c6069ae7c
hace 6 años
Jakub Josef
8227efbf22
Fixed typo in run_tests.sh file
Change-Id: I8e14a443b25155465efcec80f6568d7c5a717c2b
hace 7 años
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
hace 7 años
Piotr Pieprzycki
63f4e9bdfc
Changed file permissions - fix ( #14 )
* change file mode to 644
* change file mode to 644
hace 7 años
Filip Pytloun
2a8f4002c7
Merge pull request #13 from ppieprzycki/master
New parameters
hace 7 años
Piotr Pieprzycki
91ac149b2b
added README example
hace 7 años
Piotr Pieprzycki
166f97e199
new parameters allowed in pillar
hace 7 años
Dmitry Stremkouski
afb406c73f
Adding comment option to iptables rule
Change-Id: I9d93052cfc197a364b42240448344d5543e8805f
hace 7 años
Martin Polreich
df842db008
Fix name in .kitchen.travis.yml file
Change-Id: I07d6d020f629c9c34bb31e5ed81654b528fe3fcc
hace 7 años
Martin Polreich
0278d2572f
Update .travis.yml and .kitchen.yml files for parallel testing
Change-Id: I9f1df379fbceab316598ad1f683c0b516aa2cff6
hace 7 años
Dennis Dmitriev
ba33a7e003
Update run_tests.sh to the latest revision
Change-Id: I93c3c26a65a233ea0b3854e98efa04df02028858
hace 7 años
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.
hace 7 años
Filip Pytloun
2983e19198
Merge pull request #11 from Martin819/master
Update .travis.yml and notififcations
hace 7 años
Martin Polreich
b53b238af4
Update .travis.yml and notififcations
hace 7 años
Filip Pytloun
1a7868bfc8
Merge pull request #10 from nmadhok/patch-1
Correct parameters spelling
hace 7 años
Nitin Madhok
574663ad67
Correct parameters spelling
hace 7 años
Filip Pytloun
8530cf58a3
Merge pull request #9 from Martin819/master
Update Travis Notifications and disable sending email notifications
hace 7 años
Martin819
4cbbe3b028
Update Travis Notifications and disable sending email notifications
hace 7 años
Martin819
054f300a2b
add travis condition to only send notifications for master branch
hace 7 años
Filip Pytloun
7d221cdfa1
Merge pull request #7 from Martin819/master
Add travis condition to only send notifications for master branch [WIP]
hace 7 años
Martin819
e07d0a9bf7
add travis condition to only send notifications for master branch
hace 7 años
Martin819
12850467ee
Testing Travis Notifications - This should fail
hace 7 años
Filip Pytloun
b297b20c1b
Merge pull request #5 from Martin819/master
show 'make test' errors in Travis
hace 7 años
Martin819
fe6e787ab2
added travis notifications
hace 7 años
Martin819
f7613e483c
show 'make test' errors in Travis
hace 7 años
Filip Pytloun
9de11c6172
Merge pull request #4 from Martin819/master
Added Kitchen tests and Travis
hace 7 años
Martin819
1d6f0a8182
Added Kitchen tests and Travis
hace 7 años
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
hace 7 años
Filip Pytloun
b817b3596f
Unify Makefile, .gitignore and update readme
hace 7 años
Filip Pytloun
23030090ac
Fix service name for xenial and newer distributions using netfilter
hace 7 años
Filip Pytloun
6006256763
Fix documentation, remove obsolete
hace 8 años
Filip Pytloun
9540426989
Allow using to-port option
hace 8 años
Filip Pytloun
b76b411057
Fix source dependency parsing
hace 8 años
Filip Pytloun
4fcf9fee58
Add missing Makefile
hace 8 años
Filip Pytloun
1915fd0009
Fix tests dependency fetch
hace 8 años
Filip Pytloun
0d973d9a8e
Add salt-master into build depends
hace 8 años
Filip Pytloun
9154b6ba90
Add makefile, run tests during package build
hace 8 años
Filip Pytloun
8e8389246f
Allow setting iptables by support metadata
hace 8 años
Filip Pytloun
cb65f8a096
Refactor to allow both explicit position and append
hace 8 años
Filip Pytloun
bd5d136886
Fix iptables insert vs. append, enhance iptables disabling
hace 8 años
Filip Pytloun
21c93fb4e5
Don't set policy if rules failed
hace 8 años