Puppet Class: pf::authpf

Inherits:
::pf::params
Defined in:
manifests/authpf.pp

Overview

Manage the User Shell for Authenticating Gateways (authpf).

Examples:

Declaring the class

include ::bsdauth::authpf
class { '::pf::authpf':
  rules => @(EOS/L),
    pass in proto tcp from $user_ip to any port { 80, 443 }
    | EOS
}

Parameters:

  • conf_dir (Stdlib::Absolutepath) (defaults to: $::pf::params::authpf_conf_dir)
  • anchor (Optional[String]) (defaults to: undef)

    Specify a different pf anchor instead of authpf.

  • message (Optional[String]) (defaults to: undef)
  • problem (Optional[String]) (defaults to: undef)
  • rules (Optional[String]) (defaults to: undef)

    The contents of /etc/authpf/authpf.rules.

  • table (Optional[String]) (defaults to: undef)

    Specify a different pf table instead of authpf_users.

See Also:

Since:

  • 1.0.0



24
25
26
27
28
29
30
31
32
33
34
# File 'manifests/authpf.pp', line 24

class pf::authpf (
  Stdlib::Absolutepath $conf_dir = $::pf::params::authpf_conf_dir,
  Optional[String]     $anchor   = undef,
  Optional[String]     $message  = undef,
  Optional[String]     $problem  = undef,
  Optional[String]     $rules    = undef,
  Optional[String]     $table    = undef,
) inherits ::pf::params {

  contain ::pf::authpf::config
}