Skip to content
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

Negation support #267

Merged
merged 12 commits into from
Dec 20, 2013
Merged

Negation support #267

merged 12 commits into from
Dec 20, 2013

Conversation

phemmer
Copy link
Contributor

@phemmer phemmer commented Dec 17, 2013

This is a resubmit of PR #95 which adds support for negations.
I've been maintaining the code of that PR in my own branch for quite some time now, not noticing that the pull request had been closed. So now I'm creating another PR for it. However I have updated and rebased onto the current master branch.

@kbarber-jenkins2
Copy link

Can one of the admins verify this patch?

@phemmer
Copy link
Contributor Author

phemmer commented Dec 17, 2013

Not sure why the build is failing, but it doesn't appear related to this change. Looks like it started failing 8 days ago: https://travis-ci.org/puppetlabs/puppetlabs-firewall/builds/15177064

@@ -167,6 +167,10 @@ def self.rule_to_hash(line, table, counter)
# --tcp-flags takes two values; we cheat by adding " around it
# so it behaves like --comment
values = values.sub(/--tcp-flags (\S*) (\S*)/, '--tcp-flags "\1 \2"')
# we do a simular thing for negated address masks (source and destination).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type in similar!

apenney pushed a commit that referenced this pull request Dec 20, 2013
@apenney apenney merged commit 6435de3 into puppetlabs:master Dec 20, 2013
hunner added a commit to hunner/puppetlabs-firewall that referenced this pull request Feb 5, 2014
This adds tests mentioned in puppetlabs#141 and MODULES-48 to make sure that they
are covered by puppetlabs#267

Closes puppetlabs#141
hunner added a commit to hunner/puppetlabs-firewall that referenced this pull request Feb 5, 2014
This adds tests mentioned in puppetlabs#141 and MODULES-48 to make sure that they
are covered by puppetlabs#267

Closes puppetlabs#141
cegeka-jenkins pushed a commit to cegeka/puppet-firewall that referenced this pull request Oct 23, 2017
cegeka-jenkins pushed a commit to cegeka/puppet-firewall that referenced this pull request Oct 23, 2017
This adds tests mentioned in puppetlabs#141 and MODULES-48 to make sure that they
are covered by puppetlabs#267

Closes puppetlabs#141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants