Skip to content

Support match-sets in iptables module - #29718

Merged
cachedout merged 1 commit into
saltstack:developfrom
thusoy:issue-29423
Dec 16, 2015
Merged

cachedout merged 1 commit into
saltstack:developfrom
thusoy:issue-29423

Conversation

@thusoy

@thusoy thusoy commented Dec 15, 2015

Copy link
Copy Markdown
Contributor

Based on work by @l13t in #29426.

Added tests and fixed incorrect appending of the built rule.

Closes #29423 .

@cachedout

Copy link
Copy Markdown
Contributor

Sweet! Let's see what the test run has to say and hopefully we can get this in today. Nice work here, @thusoy

Comment thread salt/modules/iptables.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please change this to if isinstance(kwargs['match-set'], six.string_types): and add from salt.ext import six at the top.

@cachedout cachedout added the pending-changes The pull request needs additional changes before it can be merged label Dec 15, 2015
Based on work by @l13t in saltstack#29426.

Added tests and fixed incorrect appending of the built rule.

Closes saltstack#29423.
@thusoy

thusoy commented Dec 16, 2015

Copy link
Copy Markdown
Contributor Author

@cachedout Sure, fixed.

cachedout pushed a commit that referenced this pull request Dec 16, 2015
Support match-sets in iptables module
@cachedout
cachedout merged commit aab929d into saltstack:develop Dec 16, 2015
@cachedout

Copy link
Copy Markdown
Contributor

Great! Thank you @thusoy

@meggiebot meggiebot added the bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch label Feb 10, 2016
@meggiebot

Copy link
Copy Markdown

Need in 2015.8

@rallytime rallytime added Bugfix - [Done] back-ported and removed bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch labels Feb 12, 2016
cachedout pushed a commit that referenced this pull request Feb 12, 2016
@thusoy
thusoy deleted the issue-29423 branch February 13, 2016 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-changes The pull request needs additional changes before it can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iptables and match-set with two parameters

4 participants