Puppet Class: profile::admin

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

Summary

wrapper profile for the admin class

Overview

SPDX-License-Identifier: Apache-2.0

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'))


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

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':
        * => wmflib::resource::filter_params('purge_sudoers_d')
    }
}