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
efaf6973
Commit
efaf6973
authored
5 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
initial version of ldap-wg-maint YAML configuration file
parent
af2a96cd
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/sync_scripts/ldap_wg_maint.pp
+6
-1
6 additions, 1 deletion
manifests/sync_scripts/ldap_wg_maint.pp
templates/etc/ldapadmin/ldap-wg-maint.yaml.erb
+28
-0
28 additions, 0 deletions
templates/etc/ldapadmin/ldap-wg-maint.yaml.erb
with
34 additions
and
1 deletion
manifests/sync_scripts/ldap_wg_maint.pp
+
6
−
1
View file @
efaf6973
...
...
@@ -54,11 +54,16 @@ class su_ldap::sync_scripts::ldap_wg_maint (
source
=>
"puppet:///modules/su_ldap/etc/ssl/certs/
${wg_cert}
.pem"
,
}
## Configuration file
## Configuration file
(old-style; to go away eventually)
file
{
"
${basedir}
/ldap-wg-maint.conf"
:
ensure
=>
$ensure
,
content
=>
template
(
'su_ldap/etc/ldapadmin/ldap-wg-maint.conf.erb'
),
}
## Configuration file (new style)
file
{
"
${basedir}
/ldap-wg-maint.yaml"
:
ensure
=>
$ensure
,
content
=>
template
(
'su_ldap/etc/ldapadmin/ldap-wg-maint.yaml.erb'
),
}
# We want to reload the systemd daemon on any change to the unit
# file. We use the base::systemd shared library's systemd-daemon-reload
...
...
This diff is collapsed.
Click to expand it.
templates/etc/ldapadmin/ldap-wg-maint.yaml.erb
0 → 100644
+
28
−
0
View file @
efaf6973
# ldap-wg-maint configuration file
#
ldap_host:
<%=
@ldap_master_fqdn
%>
ldap_base: cn=accounts,dc=stanford,dc=edu
ldap_filter: (suSeasLocal=*)
#
# Either a keytab and principal or a ticket file must be
# specified, but not both.
tgt_file:
<%=
@ticket_file_path
%>
#
log_base_dn: cn=accesslog
log_filter: objectclass=*
log_cookie: /var/run/ldap-wg-maint.cookie
#
select_attribute: uid
map_attribute: suSeasLocal
maps:
- .*?@zm[012]\d.stanford.edu = itservices:mail-zimbra
- .*?@zm88.stanford.edu = itservices:mail-gmail
- .*?@windows.stanford.edu = itservices:mail-onprem-exchange
- .*?@office365stanford.mail.onmicrosoft.com = itservices:mail-office365
- .*?@o365.stanford.edu = itservices:mail-office365
#
webservice_host:
<%=
@wg_host
%>
webservice_cert: /etc/ssl/certs/
<%=
@wg_cert
%>
.pem
webservice_key: /etc/ssl/private/
<%=
@wg_cert
%>
.key
#
debug: 0
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