Defined Type: security::pam::config

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

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)
  • source (Optional[String]) (defaults to: undef)
  • content (Optional[String]) (defaults to: undef)


28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'modules/security/manifests/pam/config.pp', line 28

define security::pam::config(
    Wmflib::Ensure   $ensure  = present,
    Optional[String] $source  = undef,
    Optional[String] $content = undef,
)
{
    include security::pam

    file { "/usr/share/pam-configs/${name}":
        ensure  => $ensure,
        source  => $source,
        content => $content,
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        notify  => Exec['pam-auth-update'],
    }
}