Created
August 25, 2017 13:47
-
-
Save anonymous/e522e06dd9f913e2ebe5b3e4a3e8ca87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set ldap_base = salt['pillar.get']('openldap:base', "dc=localdomain") %} | |
--- | |
ldap_add_entries: | |
ldap.managed: | |
- connect_spec: | |
url: "127.0.0.1" | |
bind: | |
method: simple | |
dn: "{{ salt['pillar.get']('openldap:rootdn') }}" | |
password: "{{ salt['pillar.get']('openldap:rootpw') }}" | |
- entries: | |
- ou=Groups,{{ ldap_base }}: | |
- default: | |
ou: Groups | |
objectClass: | |
- top | |
- organizationalunit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment