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

Add --wait to iptables commands #647

Merged
merged 1 commit into from
Dec 23, 2016
Merged

Conversation

mwhahaha
Copy link
Contributor

This change adds the --wait flag to the insert/update/delete iptables
actions to prevent failures from occuring when iptables is running
outside of puppet. Previously if a script or a user is running iptables
commands while puppet is running, there may be failures in the firewall
provider if iptables cannot get a lock. By default, iptables will just
fail with an error so using --wait will make it wait until a lock can be
established.

@mwhahaha mwhahaha force-pushed the iptables-wait branch 6 times, most recently from b6cc92c to dfc7d72 Compare August 23, 2016 18:56
This change adds the --wait flag to the insert/update/delete iptables
actions to prevent failures from occuring when iptables is running
outside of puppet. Previously if a script or a user is running iptables
commands while puppet is running, there may be failures in the firewall
provider if iptables cannot get a lock. By default, iptables will just
fail with an error so using --wait will make it wait until a lock can be
established. The --wait is only added for iptables >= 1.4.20.
@mmalchuk
Copy link

+1

1 similar comment
@holser
Copy link

holser commented Dec 21, 2016

+1

@tphoney
Copy link
Contributor

tphoney commented Dec 23, 2016

Thanks for the great PR ! 👍

@tphoney tphoney merged commit 3c99a8c into puppetlabs:master Dec 23, 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.

5 participants