Module to manage iptables
| iptables | Module to manage iptables |
| Puppet Classes | |
| iptables | Installs all the requirements to use this module |
| Puppet Defines | |
| iptables:: | Installs a snippet into /etc/iptables.d/snippets at a given index. |
| Puppet Classes | |
| iptables:: | iptables snipped for nephilim.ml.org |
Installs all the requirements to use this module
This module maintains a bunch of snippets of iptable rules in /etc/iptables.d. Any time a new snipped gets installed, old one gets removed or changes gets made a run of rebuildiptables.sh is scheduled to create the final /etc/sysconfig/iptables file.
User snippets should be installed at indexes 10 to 90
define iptables::snippet ( $order = "10", $ensure = "present" )
Installs a snippet into /etc/iptables.d/snippets at a given index.
Once a new snippet has been installed a rebuild will be scheduled. Along with a service restart
| order | the index to install it at, user snippets should go between 10 and 90 |
| ensure | as for any puppet type, set to absent to remove a snippet |
Installs a snippet into /etc/iptables.d/snippets at a given index.
define iptables::snippet ( $order = "10", $ensure = "present" )