Jan Dittberner
7381b5bfd8
- merge improvements from the internal saltstack repository - define dummy secrets in the pillars - use systemd to setup the gvaldap celery worker
18 lines
594 B
Text
18 lines
594 B
Text
ldapserver-packages:
|
|
debconf.set:
|
|
- name: slapd
|
|
- data:
|
|
'slapd/domain': {'type': 'string', 'value': '{{ salt["pillar.get"]("gnuviechadmin:ldap_domain") }}'}
|
|
'slapd/password1': {'type': 'string', 'value': '{{ salt["pillar.get"]("slapd:admin_password") }}'}
|
|
'slapd/password2': {'type': 'string', 'value': '{{ salt["pillar.get"]("slapd:admin_password") }}'}
|
|
pkg.installed:
|
|
- pkgs:
|
|
- ldap-utils
|
|
- ldapscripts
|
|
- ldapvi
|
|
- slapd
|
|
service.running:
|
|
- name: slapd
|
|
- require:
|
|
- pkg: ldapserver-packages
|
|
- debconf: slapd
|