feat: add users/services/groups
This commit is contained in:
@@ -4,6 +4,17 @@ class profiles::ldap::server (
|
||||
Hash $services = lookup('glauth::services', { default_value => {} }),
|
||||
Hash $groups = lookup('glauth::groups', { default_value => {} }),
|
||||
) {
|
||||
|
||||
Glauth::Obj::User {
|
||||
config_path => '/etc/glauth/glauth.conf',
|
||||
}
|
||||
Glauth::Obj::Service {
|
||||
config_path => '/etc/glauth/glauth.conf',
|
||||
}
|
||||
Glauth::Obj::Group {
|
||||
config_path => '/etc/glauth/glauth.conf',
|
||||
}
|
||||
|
||||
create_resources('glauth::obj::user', $users)
|
||||
create_resources('glauth::obj::service', $services)
|
||||
create_resources('glauth::obj::group', $groups)
|
||||
|
||||
Reference in New Issue
Block a user