Fixing debconf dependency for pam ldap
Prod-Related: PROD-19097
Change-Id: I165b0617259523b3b1309d42107b43663b7730a4
diff --git a/linux/system/auth.sls b/linux/system/auth.sls
index 70bf6cb..817d60e 100644
--- a/linux/system/auth.sls
+++ b/linux/system/auth.sls
@@ -7,6 +7,10 @@
{%- if grains.os_family == 'Debian' %}
+linux_auth_ldap_debconf_package:
+ pkg.installed:
+ - pkgs: [ 'debconf-utils' ]
+
linux_auth_debconf_libnss-ldapd:
debconf.set:
- name: libnss-ldapd
@@ -19,6 +23,8 @@
value: 'false'
- require_in:
- pkg: linux_auth_ldap_packages
+ - require:
+ - pkg: linux_auth_ldap_debconf_package
linux_auth_debconf_libpam-ldapd:
debconf.set: