SIMPLE SOLUTIONS

CDIST-TYPE__PF_RULESET(7) - Linux man page online | Overview, conventions, and miscellany

Copy a pf(4) ruleset to $__target_host.

Chapter
Dec 18, 2016
CDIST-TYPE__PF_RULESET(7) cdist CDIST-TYPE__PF_RULESET(7)

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 techni‐ cally 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

pf(4)

AUTHORS

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

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.
4.4.1 Dec 18, 2016 CDIST-TYPE__PF_RULESET(7)
This manual Reference Other manuals
cdist-type__pf_ruleset(7) referred by cdist-type__pf_apply(7)
refer to pf(4freebsd)
Download raw manual
Main page cdist (+123) 4.4.1 (+123) № 7 (+1560)
Go top