chore: prevent empty lines
- prevent empty lines when user features are not enabled - change epp to erb template for user objects
This commit is contained in:
@@ -20,20 +20,7 @@ define glauth::obj::user (
|
||||
}
|
||||
concat::fragment { "glauth_user_${user_name}":
|
||||
target => $config_path,
|
||||
content => epp('glauth/obj/user.epp', {
|
||||
'name' => $user_name,
|
||||
'givenname' => $givenname,
|
||||
'sn' => $sn,
|
||||
'mail' => $mail,
|
||||
'uidnumber' => $uidnumber,
|
||||
'primarygroup' => $primarygroup,
|
||||
'loginshell' => $loginshell,
|
||||
'homedir' => $homedir,
|
||||
'passsha256' => $passsha256,
|
||||
'sshkeys' => $sshkeys,
|
||||
'passappsha256' => $passappsha256,
|
||||
'othergroups' => $formatted_othergroups,
|
||||
}),
|
||||
content => template('glauth/obj/user.erb'),
|
||||
order => '70',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user