1CDIST-TYPE__PF_RULESET(7) cdist CDIST-TYPE__PF_RULESET(7)
2
3
4
6 cdist-type__pf_ruleset - Copy a pf(4) ruleset to $__target_host
7
9 This type is used on *BSD systems to manage the pf firewall's ruleset.
10
11 It will also enable and disable the pf firewall as requested in the
12 state parameter.
13
15 state Either "absent" (no ruleset at all) or "present", defaults to
16 "present".
17
19 source Required when state is "present". Defines the ruleset to load
20 onto the $__target_host for pf(4).
21
23 # Remove the current ruleset in place and disable pf
24 __pf_ruleset --state absent
25
26 # Enable pf with the ruleset defined in $__manifest/files/pf.conf
27 __pf_ruleset --state present --source $__manifest/files/pf.conf
28
30 pf(4)
31
33 Kamila Součková <coding--@--kamila.is> Jake Guffey <‐
34 jake.guffey--@--eprotex.com>
35
37 Copyright (C) 2016 Kamila Součková. Copyright (C) 2012 Jake Guffey.
38 You can redistribute it and/or modify it under the terms of the GNU
39 General Public License as published by the Free Software Foundation,
40 either version 3 of the License, or (at your option) any later version.
41
43 ungleich GmbH 2021
44
45
46
47
487.0.0 Jul 31, 2022 CDIST-TYPE__PF_RULESET(7)