Puppet Class: pf
- Inherits:
- ::pf::params
- Defined in:
- manifests/init.pp
Overview
Manage the packet filter (pf).
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'manifests/init.pp', line 15
class pf (
Stdlib::Absolutepath $conf_file = $::pf::params::conf_file,
Optional[String] $content = undef,
Optional[String] $source = undef,
) inherits ::pf::params {
unless $content or $source {
fail('Either $content or $source must be specified.')
}
if $content and $source {
fail('Only one of $content or $source should be specified.')
}
contain ::pf::config
}
|