Skip to content

add execution module for OpenBSD Packet Filter#45905

Merged
rallytime merged 1 commit intosaltstack:developfrom
jasperla:pf
Feb 23, 2018
Merged

add execution module for OpenBSD Packet Filter#45905
rallytime merged 1 commit intosaltstack:developfrom
jasperla:pf

Conversation

@jasperla
Copy link
Contributor

@jasperla jasperla commented Feb 7, 2018

What does this PR do?

Add a new module used to interact with the OpenBSD Packet Filter (pf). While it's possible to use pfctl on other platforms (e.g. FreeBSD or macOS) I have not yet verified it's working there.

What issues does this PR fix or reference?

#33248

Tests written?

Yes

Commits signed with GPG?

Yes

Copy link
Contributor

@rallytime rallytime left a comment

Choose a reason for hiding this comment

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

Thanks @jasperla - I have one small request on this :)

Copy link
Contributor

Choose a reason for hiding this comment

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

For Py2/Py3 compatibility, we need this line to be:

from __future__ import absolute_import, print_function, unicode_literals

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure thing; I've just pushed the fix.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment here as well.

@jasperla
Copy link
Contributor Author

@rallytime this should be good to go now, right?

@rallytime rallytime merged commit 8aaac01 into saltstack:develop Feb 23, 2018
@jasperla jasperla deleted the pf branch February 25, 2018 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants