Added ability to start nslcd service on boot; added empty dicts for a few OS families to avoid NoneType issues

This commit is contained in:
Gregory Ballantine 2019-07-25 17:48:01 -04:00
parent 2f87f41e3c
commit ed044c065a
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ nslcd_conf:
nslcd_service:
service.running:
- name: {{ nslcd.service_name }}
- enable: {{ nslcd.service_enable }}
- watch:
- pkg: nslcd_package
- file: nslcd_conf

View File

@ -10,6 +10,8 @@ that differ from whats in defaults.yaml
##}
{% set flavor_map = salt['grains.filter_by'](
{
'Debian': {},
'FreeBSD': {},
'RedHat': {
'package_name': 'nss-pam-ldapd'
}