Merge "Restart 'nscd' service on changes in nsswitch.conf and nslcd.conf"
diff --git a/linux/system/auth.sls b/linux/system/auth.sls
index 690ec04..5cb3798 100644
--- a/linux/system/auth.sls
+++ b/linux/system/auth.sls
@@ -170,6 +170,7 @@
- pkg: linux_auth_ldap_packages
- watch_in:
- service: linux_auth_nslcd_service
+ - service: linux_auth_nscd_service
linux_auth_ldap_packages:
pkg.installed:
@@ -185,12 +186,18 @@
- pkg: linux_auth_ldap_packages
- watch_in:
- service: linux_auth_nslcd_service
+ - service: linux_auth_nscd_service
linux_auth_nslcd_service:
service.running:
- enable: true
- name: nslcd
+linux_auth_nscd_service:
+ service.running:
+ - enable: true
+ - name: nscd
+
{%- endif %}
{%- endif %}
{%- endif %}