Puppet Function: admin::get_users
- Defined in:
- modules/admin/functions/get_users.pp
- Function type:
- Puppet Language
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 |
# File 'modules/admin/functions/get_users.pp', line 2
function admin::get_users (
Variant[String,Array[String]] $filter = [],
) {
include admin
$filter.empty ? {
true => $admin::uinfo,
default => $admin::uinfo.filter |$user, $config| { $user in Array($filter, true) },
}
}
|