-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(MODULES-8214) Handle src_type and dst_type as array #790
(MODULES-8214) Handle src_type and dst_type as array #790
Conversation
880b4a0
to
2b23ac8
Compare
@@ -503,6 +517,8 @@ def self.rule_to_hash(line, table, counter) | |||
end | |||
|
|||
hash[:ipset] = hash[:ipset].split(';') unless hash[:ipset].nil? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll actually improve this part.
988b907
to
f1a7ef9
Compare
Simplified code a bit, improved documentation, tests and added some acceptance tests. |
b361b5d
to
023e52d
Compare
@mateusz-gozdek-sociomantic Your changes are currently showing syntax errors. To view them locally you just have to run the command:
If you add a |
@david22swan are you sure you're checking latest commit? I was running |
@mateusz-gozdek-sociomantic I honestly have no idea, it's disappeared now. Must have been an old commit. Sorry |
Any updates on this? I was wondering, maybe I should also add it to changelog, that it will be reported as array now. And I'm wondering if that's a breaking change or not... |
@mateusz-gozdek-sociomantic Unfortunately the pipelines are still down right know. |
The code and manifests should be fine, since we cast string to array now. The only thing which comes to my mind is, that if someone use output of I've noticed, that I should also update |
023e52d
to
1cb4759
Compare
Ping @david22swan :) |
@mateusz-gozdek-sociomantic Apologies on the wait, was moved onto some new work and lost track of everything, I am running your changes through the pipeline right now, and assuming all goes well, I should get your work merged in either today or tomorrow. |
@mateusz-gozdek-sociomantic I'm sorry, but unfortunatly the following test's have failed against both redhat 5 and centos 5 when run on puppet 6:
The error message looks the same as on your last pr, so hopefully it can be dealt with in the same way. |
I'll do some tests and patch it tomorrow. |
1cb4759
to
4c59230
Compare
Okay, so:
|
@mateusz-gozdek-sociomantic Unfortunately that only fixed two of the failures, four of them still remain:
I've created a gist containing the failure output so you can get a better look: |
4c59230
to
aee69bc
Compare
|
Just out of curiosity, is there a way to run this pipeline locally? I tried with vagrant, but it's difficult to set up. It would definitely speed up the process :) |
@mateusz-gozdek-sociomantic Still failing the following test's on both sorry:
And unfortunately you an't access are pipelines, the vmpooler images that we use are private to the company and can't be accessed by anyone outside of it. |
aee69bc
to
4d3d039
Compare
So it can be parsed when specified mutliple times, as well as being configured.
Ugh, match reges was using |
🤞 |
@mateusz-gozdek-sociomantic Adoc went green :). |
Awesome, thanks for your patient! |
So it can be parsed when specified mutliple times, as well as being configured.
Perhaps acceptance tests are missing for it, I'll try add them soon.