13.66. cdist-type__pf_apply(7)

13.66.1. NAME

cdist-type__pf_apply - Apply pf(4) ruleset on *BSD

13.66.2. DESCRIPTION

This type is used on *BSD systems to manage the pf firewall’s active ruleset.

13.66.3. REQUIRED PARAMETERS

NONE

13.66.4. OPTIONAL PARAMETERS

NONE

13.66.5. EXAMPLES

# Modify the ruleset on $__target_host:
__pf_ruleset --state present --source /my/pf/ruleset.conf
require="__pf_ruleset" \
   __pf_apply

# Remove the ruleset on $__target_host (implies disabling pf(4):
__pf_ruleset --state absent
require="__pf_ruleset" \
   __pf_apply

13.66.6. SEE ALSO

pf(4), cdist-type__pf_ruleset(7)

13.66.7. AUTHORS

Jake Guffey <jake.guffey--@--eprotex.com>

13.66.8. 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).