Puppet Class: profile::admin

Defined in:
modules/profile/manifests/admin.pp

Overview

Parameters:

  • groups (Array[String[1]]) (defaults to: lookup('profile::admin::groups'))
  • groups_no_ssh (Array[String[1]]) (defaults to: lookup('profile::admin::groups_no_ssh'))
  • always_groups (Array[String[1]]) (defaults to: lookup('profile::admin::always_groups'))
  • purge_sudoers_d (Boolean) (defaults to: lookup('profile::admin::purge_sudoers_d'))
  • managehome (Boolean) (defaults to: lookup('profile::admin::managehome'))
  • managelingering (Boolean) (defaults to: lookup('profile::admin::managelingering'))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/profile/manifests/admin.pp', line 2

class profile::admin (
    Array[String[1]] $groups          = lookup('profile::admin::groups'),
    Array[String[1]] $groups_no_ssh   = lookup('profile::admin::groups_no_ssh'),
    Array[String[1]] $always_groups   = lookup('profile::admin::always_groups'),
    Boolean          $purge_sudoers_d = lookup('profile::admin::purge_sudoers_d'),
    Boolean          $managehome      = lookup('profile::admin::managehome'),
    Boolean          $managelingering = lookup('profile::admin::managelingering'),
) {
    class {'sudo':
        purge_sudoers_d => $purge_sudoers_d,
    }
    class {'admin':
        always_groups   => $always_groups,
        groups          => $groups,
        groups_no_ssh   => $groups_no_ssh,
        managehome      => $managehome,
        managelingering => $managelingering,
    }
}