Provided by: cdist_4.0.0~pre3-2_all
NAME
cdist-type__pf_ruleset - Copy a pf(4) ruleset to $__target_host
DESCRIPTION
This type is used on *BSD systems to manage the pf firewall’s ruleset.
REQUIRED PARAMETERS
state Either "absent" (no ruleset at all) or "present", defaults to "present".
OPTIONAL PARAMETERS
source If supplied, use to define the ruleset to load onto the $__target_host for pf(4). Note that this type is almost useless without a ruleset defined, but it’s technically not needed, e.g. for the case of disabling the firewall temporarily.
EXAMPLES
# Remove the current ruleset in place __pf_ruleset --state absent # Enable the firewall with the ruleset defined in $__manifest/files/pf.conf __pf_ruleset --state present --source $__manifest/files/pf.conf
SEE ALSO
• cdist-type(7) • pf(4)
COPYING
Copyright (C) 2012 Jake Guffey. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).
AUTHOR
Jake Guffey <jake.guffey--@--eprotex.com> Author. 04/07/2016 CDIST-TYPE__PF_RULE(7)