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

(Modules 3329) Add support for iptables length and string extensions #630

Merged
merged 4 commits into from
May 5, 2016
Merged

(Modules 3329) Add support for iptables length and string extensions #630

merged 4 commits into from
May 5, 2016

Conversation

shumbert
Copy link

@shumbert shumbert commented May 4, 2016

We are using puppetlabs/puppetlabs-firewall in our puppet deployment, however we needed the module to handle the length and string iptables extensions. This pull request contains changes we had to apply.

@hunner
Copy link
Contributor

hunner commented May 4, 2016

Looks good! Could you add a few example lines/hashes to https://github.com/puppetlabs/puppetlabs-firewall/blob/master/spec/fixtures/iptables/conversion_hash.rb so that the tests verify the parameters, and update the readme?

@shumbert
Copy link
Author

shumbert commented May 5, 2016

Here is the requested changes.

Originally the string_matching_3 test in ARGS_TO_HASH contained both --from and --to, but it looks like --to is used for both :to and :string_to and the test was failing.

@hunner hunner merged commit a3b277c into puppetlabs:master May 5, 2016
@hunner
Copy link
Contributor

hunner commented May 5, 2016

👍

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.

6 participants