Remove dependency on puppet-nslcd from puppet-manifests

puppet-nslcd will be removed and no longer available on Debian.
This change removed the dependency from puppet-manifests
package.

Test Plan:
PASS: puppet-manifests package build.
PASS: system deployment.
PASS: ldap functions (add new users, ldap user login on console
      and by ssh, etc) work normally.

Story: 2009834
Task: 46176
Signed-off-by: Andy Ning <andy.ning@windriver.com>
Change-Id: I370d09509ed317165b314bc170d593e528fb90ac
This commit is contained in:
Andy Ning 2022-08-31 10:27:00 -04:00
parent d67e290ce8
commit 622d5208c0
2 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,6 @@ Depends: ${misc:Depends}, puppet,
puppet-module-camptocamp-kmod,
puppet-ldap,
puppet-network,
puppet-nslcd,
puppet-module-voxpupuli-collectd,
python3-ruamel.yaml
Description: Puppet configuration and manifests

View File

@ -14,4 +14,8 @@ override_dh_install:
BINDIR=$(CURDIR)/debian/tmp/usr/local/bin \
CONFIGDIR=$(CURDIR)/debian/tmp/etc/puppet \
MODULEDIR=$(CURDIR)/debian/tmp/usr/share/puppet/modules
# nslcd doesn't exist on Debian
rm $(CURDIR)/debian/tmp/usr/share/puppet/modules/platform/templates/nslcd.conf.erb
dh_install