Merge pull request 'neoloc/glauth' (#87) from neoloc/glauth into develop
Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/87
This commit was merged in pull request #87.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# profiles::ldap::server
|
||||
class profiles::ldap::server (
|
||||
Hash $users = lookup('glauth::users', { default_value => {} }),
|
||||
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