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,21 @@
|
||||
# define a service object
|
||||
define glauth::obj::service (
|
||||
String $service_name,
|
||||
String $mail,
|
||||
Integer $uidnumber,
|
||||
Integer $primarygroup,
|
||||
String $passsha256,
|
||||
Stdlib::Absolutepath $config_path,
|
||||
) {
|
||||
concat::fragment { "glauth_service_${service_name}":
|
||||
target => $config_path,
|
||||
content => epp('glauth/obj/service.epp', {
|
||||
'name' => $service_name,
|
||||
'mail' => $mail,
|
||||
'uidnumber' => $uidnumber,
|
||||
'primarygroup' => $primarygroup,
|
||||
'passsha256' => $passsha256,
|
||||
}),
|
||||
order => '80',
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user