Defined Type: security::access::config

Defined in:
modules/security/manifests/access/config.pp

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: 'present')
  • content (Optional[String]) (defaults to: undef)
  • source (Optional[Stdlib::Filesource]) (defaults to: undef)
  • priority (Integer[0,99]) (defaults to: 50)


36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'modules/security/manifests/access/config.pp', line 36

define security::access::config(
    Wmflib::Ensure               $ensure   = 'present',
    Optional[String]             $content  = undef,
    Optional[Stdlib::Filesource] $source   = undef,
    Integer[0,99]                $priority = 50,
) {
    include security::access

    concat::fragment { "security-access-${title}":
        target  => '/etc/security/access.conf',
        source  => $source,
        content => $content,
        order   => $priority,
    }
}