Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
su_ldap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
suitpuppet
su_ldap
Commits
7e15996e
Commit
7e15996e
authored
5 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
more wallet re-factoring
parent
717c8d36
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/ldapadmin/posixgroup.pp
+3
-2
3 additions, 2 deletions
manifests/ldapadmin/posixgroup.pp
manifests/sync_scripts.pp
+3
-2
3 additions, 2 deletions
manifests/sync_scripts.pp
with
6 additions
and
4 deletions
manifests/ldapadmin/posixgroup.pp
+
3
−
2
View file @
7e15996e
...
...
@@ -6,6 +6,7 @@
class
su_ldap::ldapadmin::posixgroup
(
Enum
[
'present'
,
'absent'
]
$ensure
,
$env
=
undef
,
String
$basedir
=
'/etc/ldapadmin'
,
)
{
# third, pick your bucket and credentials
...
...
@@ -33,11 +34,11 @@ class su_ldap::ldapadmin::posixgroup(
# Keytab used to access mailman and Posixgroup.
if
(
$ensure
==
'present'
)
{
base::
wallet
{
'service/lists'
:
wallet
{
'service/lists'
:
ensure
=>
'present'
,
path
=>
'/etc/ldap/service-lists.keytab'
,
owner
=>
'root'
,
require
=>
File
[
'/etc/ldapadmin'
],
require
=>
File
[
$basedir
],
}
}
...
...
This diff is collapsed.
Click to expand it.
manifests/sync_scripts.pp
+
3
−
2
View file @
7e15996e
...
...
@@ -132,7 +132,8 @@ class su_ldap::sync_scripts (
## Add another remctl driven sync
# LDAP posixgroup (ldap-posix-group)
class
{
'su_ldap::ldapadmin::posixgroup'
:
env
=>
$env
,
ensure
=>
$ensure_ldap_posix_group
,
env
=>
$env
,
ensure
=>
$ensure_ldap_posix_group
,
basedir
=>
$basedir
,
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment