carta
cdist-type__pf_apply(7)

cdist-type__pf_apply7

Apply pf(4) ruleset on *bsd

Overview

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

Required parameters

NONE

Optional parameters

NONE

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

Copying

Copyright (C) 2012 Jake Guffey. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

History

  • Debian 10 (Buster): the text shown here
  • Debian 9 (Stretch)

Authors

Jake Guffey <[email protected]>

From cdist 4.10.6-1 in Debian 10 (Buster). Parsed by carta from the page's man source.