Defined Type: security::access::config

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

Overview

Parameters:

  • content (Any) (defaults to: undef)
  • source (Any) (defaults to: undef)
  • priority (Any) (defaults to: 50)


39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'modules/security/manifests/access/config.pp', line 39

define security::access::config(
    $content  = undef,
    $source   = undef,
    $priority = 50,
)
{
    include security::access

    file { "/etc/security/access.conf.d/${priority}-${name}":
        ensure  => present,
        source  => $source,
        content => $content,
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        require => File['/etc/security/access.conf.d'],
        notify  => Exec['merge-access-conf'],
    }
}