-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpillar.example
34 lines (34 loc) · 998 Bytes
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
openldap:
rootdn: 'cn=root,dc=example,dc=com'
rootpw: '{SSHA}5++yqs7UNz22kAYf7jboAmklhavVXahK'
base: 'dc=example,dc=com'
uri: 'ldap://ldap.example.com'
slapd_conf: '/etc/ldap/slapd.conf' # if no dynamic configuration on Debian
user: 'openldap'
group: 'openldap'
slapd_services: 'ldap://127.0.0.1:389/ ldaps:/// ldapi:///'
slapd_options: '-4' # add other options here if needed
slapd_include_dir: /etc/ldap/include
# TLS Configuration management but this formula doesn't manage crts dir/files yet
slapd_tls:
enable: false
ca: /etc/openldap/ssl/cacrt.pem
crt: /etc/openldap/ssl/crt.pem
key: /etc/openldap/ssl/key.pem
cipher_suite: DEFAULT
indexes:
objectClass: eq
overlays:
refint: |-
refint_attributes member
memberof: ''
includes:
my_include_file_name: |
# Each user can modify its data
access to *
by self write
by users read
by anonymous auth