feat: create glauth module
- manage config directories, config file - manage systemd service and socket - manage users, service accounts and groups - manage defaults for users, services and groups - manage packages for role
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# define a group object
|
||||
define glauth::obj::group (
|
||||
String $group_name,
|
||||
Integer $gidnumber,
|
||||
Stdlib::Absolutepath $config_path,
|
||||
Optional[Array[Integer]] $includegroups = [],
|
||||
) {
|
||||
concat::fragment { "glauth_group_${group_name}":
|
||||
target => $config_path,
|
||||
content => epp('glauth/obj/group.epp', {
|
||||
'name' => $group_name,
|
||||
'gidnumber' => $gidnumber,
|
||||
'includegroups' => $includegroups,
|
||||
}),
|
||||
order => '90',
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user