2016-01-31 16:34:53 +01:00
|
|
|
ldapserver-packages:
|
|
|
|
debconf.set:
|
|
|
|
- name: slapd
|
|
|
|
- data:
|
2016-09-24 21:51:59 +02:00
|
|
|
'slapd/domain': {'type': 'string', 'value': '{{ salt["pillar.get"]("gnuviechadmin:ldap_domain") }}'}
|
2020-03-04 00:10:16 +01:00
|
|
|
'slapd/password1': {'type': 'string', 'value': '{{ salt["pillar.get"]("slapd:admin_password") }}'}
|
|
|
|
'slapd/password2': {'type': 'string', 'value': '{{ salt["pillar.get"]("slapd:admin_password") }}'}
|
2016-01-31 16:34:53 +01:00
|
|
|
pkg.installed:
|
|
|
|
- pkgs:
|
|
|
|
- ldap-utils
|
|
|
|
- ldapscripts
|
|
|
|
- ldapvi
|
|
|
|
- slapd
|
|
|
|
service.running:
|
|
|
|
- name: slapd
|
|
|
|
- require:
|
|
|
|
- pkg: ldapserver-packages
|
|
|
|
- debconf: slapd
|