integ/config/puppet-modules/puppet-nslcd/debian/deb_folder/puppet-nslcd.prerm
Dan Voiculeasa a5300e36b1 Add debian package for puppet-nslcd module
This package is 3rdparty. Use a different package than on CentOS.
Chose an Apache 2.0 as we may need to patch this.
There exists PRs for Puppet 5.x and puppetlabs-stdlib 5.x support, and
generic parameter configuration.
nslcd.conf template supports the same fields as the one from the CentOS
package plus a few more.

Did build puppet-nslcd. Did build iso.

Story: 2009101
Task: 43380
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ia9e7b1f6df43e354857e395384c665cbd430b09b
2021-09-28 12:39:38 +03:00

14 lines
264 B
Bash

#!/bin/sh
# see: dh_installdeb(1)
set -e
if [ "${1}" = "remove" ] || [ "${1}" = "upgrade" || [ "${1}" = "deconfigure" ]; then
update-alternatives --remove puppet-module-nslcd \
/usr/share/puppet/modules.available/puppet-nslcd
fi
#DEBHELPER#
exit 0