.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__PF_RULESET" "7" "Feb 07, 2021" "6.9.4" "cdist" . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH NAME .sp cdist\-type__pf_ruleset \- Copy a pf(4) ruleset to $__target_host .SH DESCRIPTION .sp This type is used on *BSD systems to manage the pf firewall\(aqs ruleset. .sp It will also enable and disable the pf firewall as requested in the \fIstate\fP parameter. .SH REQUIRED PARAMETERS .INDENT 0.0 .TP .B state Either "absent" (no ruleset at all) or "present", defaults to "present". .UNINDENT .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B source Required when state is "present". Defines the ruleset to load onto the $__target_host for \fIpf(4)\fP\&. .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C # Remove the current ruleset in place and disable pf __pf_ruleset \-\-state absent # Enable pf with the ruleset defined in $__manifest/files/pf.conf __pf_ruleset \-\-state present \-\-source $__manifest/files/pf.conf .ft P .fi .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBpf\fP(4) .SH AUTHORS .sp Kamila Součková <\fI\%coding\-\-@\-\-kamila.is\fP> Jake Guffey <\fI\%jake.guffey\-\-@\-\-eprotex.com\fP> .SH COPYING .sp Copyright (C) 2016 Kamila Součková. 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. .SH COPYRIGHT ungleich GmbH 2020 .\" Generated by docutils manpage writer. .